Amr bin Shu'ayb (may Allah have mercy on him) narrates from his father, and he from his grandfather (may Allah be pleased with him): We came down with the Messenger of Allah (peace and blessings be upon him) from the mountain pass of Adhakhir, and the time for prayer came. He (peace and blessings be upon him) prayed facing a wall, making it his sutrah. We were behind him (peace and blessings be upon him). Meanwhile a young goat came and began to pass in front of him, so he kept it back, until he (peace and blessings be upon him) pressed his stomach against the wall, and it passed behind him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 3451