Sunan an Nasai
3435
Sahih+2

It was narrated from Abu Hurairah that the Prophet said:"Allah, the Most High, has forgiven my Ummah for whatever enters the mind, so long as it is not spoken of or put into action

SahihAbu Ghuddah
SahihAl-Albani