وعن وَابِصَةَ بن مَعبدٍ - رضي الله عنه - قَالَ: أتَيْتُ رَسُول الله - صلى الله عليه وسلم - فَقَالَ: «جئتَ تَسْألُ عَنِ البِرِّ؟» قُلْتُ: نَعَمْ، فَقَالَ: «اسْتَفْتِ قَلْبَكَ، البرُّ: مَا اطْمَأنَّت إِلَيْهِ النَّفسُ، وَاطْمأنَّ إِلَيْهِ القَلْبُ، وَالإثْمُ: مَا حَاكَ في النَّفْسِ، وَتَرَدَّدَ فِي الصَّدْرِ، وَإنْ أفْتَاكَ النَّاسُ وَأفْتُوكَ» حديث حسن، رواه أحمد والدَّارمِيُّ في مُسْنَدَيْهِمَا.
It is narrated from Sayyiduna Wabisah bin Ma'bad (may Allah be pleased with him) that he said: I came to the Messenger of Allah (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Have you come to ask about righteousness?" I said: Yes. So he (peace and blessings be upon him) said: "Seek the verdict of your heart. Righteousness is that with which the soul is at ease and the heart is at ease, and sin is that which wavers in the soul and causes hesitation in the breast, even if people give you a verdict (that it is permissible) and keep giving you verdicts."
(This is a hasan hadith; Ahmad and al-Darimi narrated it in their respective Musnads)