An-Nu‘man b. Murra reported God’s Messenger as saying, “What do you think of the drinker, the fornicator, and the thief?” That was before the prescribed punishments regarding them were revealed. On receiving the reply that God and His Messenger knew best, he said, “Such sins are abominations and punishment is prescribed for them, but the worst theft is what one steals from his prayer.” He was asked how one could steal from his prayer and replied, “By not performing his bowing and his prostration perfectly.”
Malik and Ahmad transmitted it, and Darimi transmitted something similar.
Anas reported God’s Messenger as saying, “Adopt a moderate position when prostrating yourselves, and see that none of you stretches out his forearms like a dog.”
Abu Qatada reported God’s Messenger as saying, “The one who commits the worst theft is he who steals from his prayer.” When asked how one could steal from his prayer he replied, “By not performing his bowing and his prostration perfectly.”