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