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.”
Hadith No. 2209
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih Bukhari (2528) Sahih Muslim (127)