It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: The prayer is broken if a woman, a dog, or a donkey passes in front of the one who is praying.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 9490
Hadith Gradingحکم دارالسلام:حدیث صحیح ، وقد وقع فیه اختلاف کبیر علی قتادۃ