Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates: The Prophet (peace and blessings be upon him) said: "When one of you is praying, Satan comes to him and frightens him, just as a man frightens his animals. If that person remains calm, Satan breaks wind between his buttocks so that the person's attention is diverted from his prayer. When anyone finds such a situation, let him not end the prayer until he hears the sound (of his wind passing) or perceives a smell."
Ahmad recorded it, and Abu Dawud recorded it in abridged form; the narrators of Ahmad are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الطهارة / 1246
Hadith Gradingمحدثین:إسنادہ صحیح
Hadith Takhrij«أخرجه سنن أبي داود برقم: 177، وأخرجه مسند أحمد برقم: 8169، وأخرجه صحيح ابن خزيمة برقم: 24، وأخرجه المعجم الأوسط للطبراني برقم: 1588»