It is narrated from Ayyash bin Abi Rabi’ah Makhzumi, he said: One day, the Messenger of Allah (peace be upon him) led his companions in prayer, and a donkey passed in front of us (during the prayer). So Ayyash said «سبحان الله». When the Messenger of Allah (peace be upon him) finished the prayer with salam, he asked: Who among you «سبحان الله» did this? Ayyash said: O Messenger of Allah! I did, and I have heard that the prayer is broken if a donkey passes in front. Upon this, the Messenger of Allah (peace be upon him) said: The prayer is not broken by anything passing in front.