Hadith 898

نَا بُنْدَارٌ ، نَا سَالِمُ بْنُ نُوحٍ ، نَا يُونُسُ بْنُ عُبَيْدٍ ، عَنْ زُرَارَةَ بْنِ أَوْفَى ، عَنْ أَبِي هُرَيْرَةَ ، أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " إِنَّ اللَّهَ تَجَاوَزَ لأُمَّتِي عَمَّا حَدَّثَتْ بِهِ أَنْفُسَهَا مَا لا يُنْطَقُ بِهِ ، وَلا يُعْمَلُ بِهِ "
Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, Allah the Exalted has forgiven my Ummah for what occurs in their hearts (thoughts and whispers that come to the heart) as long as they do not speak of them or act upon them."
Hadith Reference صحيح ابن خزيمه / جماع أبواب الأفعال المباحة فى الصلاة / 898
Hadith Takhrij صحيح مسلم