Sunan an-Nasa'i 3435
It was narrated from Abu Hurairah that the Prophet said:"Allah, the Most High, has forgiven my Ummah for whatever enters the mind, so long as it is not spoken of or put into action
أَخْبَرَنِي مُوسَى بْنُ عَبْدِ الرَّحْمَنِ، قَالَ حَدَّثَنَا حُسَيْنٌ الْجُعْفِيُّ، عَنْ زَائِدَةَ، عَنْ شَيْبَانَ، عَنْ قَتَادَةَ، عَنْ زُرَارَةَ بْنِ أَوْفَى، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " إِنَّ اللَّهَ تَعَالَى تَجَاوَزَ لأُمَّتِي عَمَّا حَدَّثَتْ بِهِ أَنْفُسَهَا مَا لَمْ تَكَلَّمْ أَوْ تَعْمَلْ بِهِ " .
Sahih — Abu GhuddahSahih — Al-AlbaniSahih — Zubair Ali Zai