Sahih al-Bukhari, Book 10, Hadith 186 (Bukhari 774)
Narrated Zaid bin Wahb:
Hudhaifa saw a person who was not performing the bowing and prostration perfectly. He said to him, "You have not prayed and if you should die you would die on a religion other than that of Muhammad."