Sahih al-Bukhari 6664
Book 83: Oaths and Vows · Narrated by Abu Huraira
Arabic
حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى، حَدَّثَنَا مِسْعَرٌ، حَدَّثَنَا قَتَادَةُ، حَدَّثَنَا زُرَارَةُ بْنُ أَوْفَى، عَنْ أَبِي هُرَيْرَةَ، يَرْفَعُهُ قَالَ " إِنَّ اللَّهَ تَجَاوَزَ لأُمَّتِي عَمَّا وَسْوَسَتْ أَوْ حَدَّثَتْ بِهِ أَنْفُسَهَا، مَا لَمْ تَعْمَلْ بِهِ أَوْ تَكَلَّمْ ".
English translation
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
Reference: Sahih al-Bukhari 6664, Book of Oaths and Vows. English translation by Dr. Muhammad Muhsin Khan.