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