Sayyiduna Anas (may Allah be pleased with him) reports: Once, the Messenger of Allah (peace and blessings be upon him) came out of his house and saw a man in the mosque who was not performing ruku‘ and sujud properly. The Prophet (peace and blessings be upon him) said: “A person’s prayer is not accepted until he performs ruku‘ and sujud properly.”
Related hadith on this topic