Sayyiduna al-Fadl bin Abbas (may Allah be pleased with them both) relates: Once we were in the open country, and the Messenger of Allah (peace and blessings be upon him) came to us along with Sayyiduna Abbas (may Allah be pleased with him). We had a small female dog and a she-donkey grazing. the Messenger of Allah (peace and blessings be upon him) prayed the Asr prayer while the two of them were moving about in front of him, and he neither moved them away nor scolded them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3508
It is narrated from Sayyiduna al-Fadl bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) came to us along with Sayyiduna Abbas (may Allah be pleased with him) while we were in the open country. He (peace and blessings be upon him) prayed in the open country with no sutrah in front of him. Our she-donkey and our small female dog were frolicking in front of him (peace and blessings be upon him), and he (peace and blessings be upon him) paid no attention to them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3509
Sayyiduna Abu Sa'id (may Allah be pleased with him) says that the Messenger of Allah (peace and blessings be upon him) said: "Nothing breaks the prayer; even so, prevent the one passing as far as you are able, for he is a devil."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3510
Abu al-Wadhak (may Allah have mercy on him) relates: Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) was praying when a young man of Quraysh began to pass in front of him. He (may Allah be pleased with him) stopped him; he tried to pass again and he stopped him again, until he had stopped him three times. When he (may Allah be pleased with him) finished the prayer, he said: "Nothing breaks the prayer, but the Messenger of Allah (peace and blessings be upon him) said: 'Prevent him as far as you are able, for he is a devil.'"
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3511
Hadith Gradingمحدثین:صحيح لغيره
Hadith Takhrij«صحيح لغيره۔ الحديث صحيح بلفظ (لا يقطع الصلاة شئي) ودونه لا يثبت وانظر قبله»
Sa'id (may Allah have mercy on him) narrates that Uthman and Ali (may Allah be pleased with them both) said: "Nothing breaks the prayer of a Muslim, but prevent the one passing in front as far as you are able."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3512
Hadith Gradingمحدثین:صحيح
Hadith Takhrij«صحيح۔ اخرجه الطحاوي في شرح المعاني 1/ 464»
Salim (may Allah have mercy on him) narrates from his father (may Allah be pleased with him) that he used to say: "Nothing that passes in front of the person praying breaks the prayer."
(b) Abu Aqil narrated it as marfu' as well, but what is more correct is that it is mawquf.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3513
Ikrimah (may Allah have mercy on him) relates that Sayyiduna Ibn Abbas (may Allah be pleased with them both) was asked: "Do a dog, a donkey and a woman, by passing in front, break the prayer?" Ibn Abbas (may Allah be pleased with them both) said: "To Him ascend all good words, and righteous deeds He raises up" [Surah Fatir: 10]. These things do not break the prayer, but their passing is disliked.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3514