It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "When the muezzin calls the adhan, Satan turns his back and flees, breaking wind; then when he (the muezzin) falls silent, he (Satan) comes back until he whispers between a person and his heart. He reminds him of things he had not remembered, until he puts him in doubt in his prayer and he no longer knows how many rak'ahs he has prayed. So when one of you finds himself in such a situation and does not know how much he has prayed, whether he added or fell short, let him perform the two prostrations of forgetfulness (sahw) after giving the salam, for these two prostrations humiliate (Satan)."
Hadith Referenceالمعجم الأوسط / باب العين / 4402
Hadith Takhrij«أخرجه البخاري فى «صحيحه» برقم: 608، 1222، 1231، 1232، 3285، ومسلم فى «صحيحه» برقم: 389، ومالك فى «الموطأ» برقم: 223 / 63، 331 / 99، وابن خزيمة فى «صحيحه» برقم: 392، 1020، وابن حبان فى «صحيحه» برقم: 16، 1662، 1663، 1754، 2683، والنسائي فى «المجتبى» برقم: 669 / 1، 1251 / 13، 1252 / 14، والنسائي فى «السنن الكبرى» برقم: 596، 595، 1177، 1176، 1646، وأبو داود فى «سننه» برقم: 516، 1030، (1/396) [دون رقم في الترقيم المختار]، والترمذي فى «جامعه» برقم: 397، والدارمي فى «مسنده» برقم: 1240، 1535، وابن ماجه فى «سننه» برقم: 1216، 1217، والبيهقي فى «السنن الكبرى» برقم: 2065، 2066، 3869، 3870، 3901، 3899، 3900، 3902، 3903، 3904، 3960، والدارقطني فى «سننه» برقم: 1403، 1404، وأحمد فى «مسنده» برقم: 7406، 7809، 7918، 7937، 8255، 9293، 9460، 10069، 10406، 10692، 10920، 11030، والطيالسي فى «مسنده» برقم: 2466، والحميدي فى «مسنده» برقم: 977، وأبو يعلى فى «مسنده» برقم: 5958، 5964، 5993، والبزار فى «مسنده» برقم: 7853، 8593، 8594، 8687، 9168، وعبد الرزاق فى «مصنفه» برقم: 3462، 3464، 3465، 3480، وابن أبي شيبة فى «مصنفه» برقم: 2389، 4453، والطحاوي فى «شرح معاني الآثار» برقم: 2502، 2503، 2500، 2501، 2504، 2505، 2506، 2507، 2521، والطبراني فى «الأوسط» برقم: 2236، 7436»