It was narrated from Abu Hurairah that — (one of the narrators) ‘Abdur-Rahman said: “The Messenger of Allah صلی اللہ علیہ وآلہ وسلم — said: ‘Allah, the Most High, has forgiven my Ummah for everything that enters the mind, so long as it is not spoken of or put into action.” (Sahih)