Yahya related to me from Malik from Zayd ibn Aslam from Ata ibnYasar that Kab al-Ahbar said, "If the person who passed in front of aman praying knew what he was bringing on himself, it would be betterfor him to sink into the ground than to pass in front of him."
USC-MSA web (English) reference: Book 9, Hadith 38
Arabic reference: Book 9, Hadith 367