The Prophet ﷺ said, "Allah has overlooked for my community the thoughts that cross their minds, so long as they do not act upon them or speak them aloud."
حدثنا إسماعيل عن سعيد عن قتادة عن زرارة
عن النبي ﷺ قال إن الله عز وجل تجاوز لأمتي عما حدثت به أنفسها ما لم تكلم به