It was narrated from Abu Hurairah that:
the Messenger of Allah (ﷺ) said: "Allah has forgiven my nation for what they think of to themselves, so long as they do not act upon it or speak of it."
English reference: Vol. 3, Book 10, Hadith 2040
Arabic reference: Book 10, Hadith 2118
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.