It is narrated from Sayyiduna Abu Dharr (may Allah be pleased with him) that a man came to him and asked him about faith, so he recited this blessed verse: "Righteousness is not that you turn your faces toward the east or the west, but (true) righteousness is (in) the one who believes in Allah," and he recited it up to: "Those are the ones who have been true, and it is those who are the righteous (muttaqun)." The man said: I did not ask you about righteousness (birr). Sayyiduna Abu Dharr (may Allah be pleased with him) said: "A man came to the Prophet (peace and blessings be upon him) and asked him the same thing that you have asked me, and the Prophet (peace and blessings be upon him) recited to him the same as I have recited to you. That man also said to him (peace and blessings be upon him) what you have said to me. Then, when he was not satisfied, he (peace and blessings be upon him) said to him: 'Come closer.' He came closer, and he (peace and blessings be upon him) said: 'Indeed the believer is the one whom a good deed pleases and who hopes for its reward, and when an evil deed issues from him, it grieves him and he fears its punishment.'"
Imam Abu Ya'la al-Mawsili (may Allah have mercy on him) narrated it: Imam Mujahid (may Allah have mercy on him) narrates from Sayyiduna Abu Dharr (may Allah be pleased with him) that he asked the Messenger of Allah (peace and blessings be upon him) what faith is. He (peace and blessings be upon him) recited to him this verse: "Righteousness is not that you turn your faces" to the end of the whole verse. He asked again, and he (peace and blessings be upon him) recited the same verse again; he asked again, and he (peace and blessings be upon him) recited the same verse again. The narrator says: Then, when he asked once more, he (peace and blessings be upon him) said: "When you do a good deed, your heart loves it, and when you do a bad deed, your heart hates it (this is faith)."