Sahih al-Bukhari 3285
Muhammad bin Yusuf narrated to us that Auza'i told us. He narrated from Yahya bin Abi Kathir, Yahya from Abu Salamah, Abu Salamah from Hazrat Abu Hurairah (ra) that he said: The Prophet (saw) said: “When the call to Prayer is made, Satan turns his back and goes off, breaking wind as he goes. When the call to prayer (Adhan) is over, he comes back, and when the Iqamah is said for straightening the rows for the Prayer, he turns his back and goes off, and when the Iqamah is over he comes back, and having come he passes between a person and his heart and says: Remember such and such a thing (and in this way) keeps him so occupied that he does not know whether he has prayed three Rak'ahs or four. When he does not know whether he has prayed three Rak'ahs or four, let him make the two prostrations of forgetfulness (Sajdat-us-Sahw).”
AI-translated by Islam-Today
Book 11: The characteristics of Iblis (Satan) and his soldiers