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." (AR)
USC-MSA web (English) reference: Book 9, Hadith 43 (AR)
Arabic reference (AR): Book 9, Hadith 372 (AR)