Yahya related to me from Malik that he had heard that Ali ibn Abi Talib said, "Things that pass in front of a man praying do not break his prayer." (PT)
USC-MSA web (English) reference: Book 9, Hadith 43 (PT)
Arabic reference (PT): Book 9, Hadith 372 (PT)