"The Messenger of Allah said: 'Allah, the Mighty and Sublime, has forgiven my Ummah for what is whispered to them or what enters their minds, so long as they do not act upon it or speak of it.'" (Using translation from Nasāʾī 3434)
قَالَ رَسُولُ اللهِ ﷺ «إِنَّ اللهَ تَجَاوَزَ لِأُمَّتِي مَا وَسْوَسَتْ بِهِ وَحَدَّثَتْ بِهِ أَنْفُسَهَا مَا لَمْ تَعْمَلْ أَوْ تَتَكَلَّمْ بِهِ»