On the authority of Wabisa bin Mabad, may Allah be pleased with him, who said:
I came to the messenger of Allah and he said: "You have come to ask about righteousness?". I said: "Yes". He said: "Consult your heart. Righteousness is that about which the soul feels tranquil and the heart feels tranquil, and wrongdoing is that which wavers in the soul and moves to and from in the chest even though people again and again have given you their legal opinion (in its favor)"