Sahih al-Bukhari, Volume 8, Book 78, Hadith 657 (USC-MSA) ⓘ
Narrated Abu Huraira: The Prophet said, "Allah forgives my followers those (evil deeds) their souls may whisper or suggest to them as long as they do not act (on it) or speak."
حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى، حَدَّثَنَا مِسْعَرٌ، حَدَّثَنَا قَتَادَةُ، حَدَّثَنَا زُرَارَةُ بْنُ أَوْفَى، عَنْ أَبِي هُرَيْرَةَ، يَرْفَعُهُ قَالَ " إِنَّ اللَّهَ تَجَاوَزَ لأُمَّتِي عَمَّا وَسْوَسَتْ أَوْ حَدَّثَتْ بِهِ أَنْفُسَهَا، مَا لَمْ تَعْمَلْ بِهِ أَوْ تَكَلَّمْ " .
also referenced under: Book 83, Hadith 42 (In-Book) & Hadith 6664 (DarusSalam)