عَنْ أَبِي هُرَيْرَةَ، يَرْفَعُهُ قَالَ: إِنَّ اللہ تَجَاوَزَ لأُمَّتِي عَمَّا وَسْوَسَتْ أَوْ حَدَّثَتْ بِهِ أَنْفُسَهَا، مَا لَمْ تَعْمَلْ بِهِ أَوْ تَكَلَّمْ.
Hazrat Abu Hurairahra narrated that Allah’s Messengersa said: “Allah has pardoned my ummah for the thoughts that stir or arise in their hearts, as long as they neither act upon them nor utter them.”
(Sahih al-Bukhari, Kitab al-aymani wa n-nudhur, Bab idha hanitha nasiyan fi l-ayman, Hadith 6664)