Abu Hurairah reported the Prophet ﷺ as saying “Allah has ignored for my community what comes to their mind, so long as they do not act or pronounce words to that effect.” (Using translation from Abū Dāʾūd 2209)
عَنِ النَّبِيِّ ﷺ قَالَ إِنَّ اللهَ تَجَاوَزَ لِأُمَّتِي عَمَّا حَدَّثَتْ بِهِ أَنْفُسَهَا مَا لَمْ تَعْمَلْ بِهِ أَوْ تَكَلَّمْ