Hadithcore
Riyad as-Salihin, 590

Wabisah bin Ma'bad (May Allah be pleased with him) reported:

I went to Messenger of Allah (ﷺ) and he asked me, "Have you come to inquire about piety?" I replied in the affirmative. Then he said, "Ask your heart regarding it. Piety is that which contents the soul and comforts the heart, and sin is that which causes doubts and perturbs the heart, even if people pronounce it lawful and give you verdicts on such matters again and again." <b>[Ahmad and Ad- Darmi]</b>.

وعن وابصة بن معبد رضي الله عنه قال‏:‏ أتيت رسول الله صلى الله عليه وسلم فقال‏:‏ “جئت تسأل عن البر‏؟‏” قلت نعم، فقال‏:‏ ‏"‏استفت قلبك البر ما اطمأنت إليه النفس، واطمأن إليه القلب، والإثم ما حاك فى النفس وتردد فىالصدر، وإن أفتاك الناس وأفتوك” ‏(‏‏(‏حديث حسن، رواه أحمد والدارمي فى مسنديهما‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Introduction, Hadith 590
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) “Ask your heart” is addressed to those with sound hearts which are free from unlawful lusts and evil ideas.<br> 2) Understanding the Prophet’s definition of piety and sin, which is one of the best and most comprehensive definitions.