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
Hadith No. 2040
Sunan Ibn Majah
Gradings:
Al-Albani:
Sahih
Muhammad Fouad Abd al-Baqi:
Sahih
Shuaib Al Arnaut:
Sahih
Zubair Ali Zai:
Sahih - Agreed Upon