Sahih al-Bukhari 6667
Ishaq bin Mansur narrated to me that Abu Usamah told us. Ubaidullah bin Umar narrated to us. Ubaidullah narrated from Sa'id bin Abi Sa'id, Sa'id from Hazrat Abu Hurairah (ra), that a man came into the mosque and began to offer the Prayer (Salat), and (at that time) the Messenger of Allah (saw) was sitting in a corner of the mosque. Having prayed, he came and said Assalamu alaikum to him (saw). He (saw) said to him: “Go back and pray, for you have not prayed.” He went back and prayed. Then he came and said Assalamu alaikum to him (saw). He (saw) said: “Wa alaika. Go back and pray, for you have not prayed.” The third time the man said: “Tell me (how I should pray).” He (saw) said: “When you stand up for the Prayer, perform the ablution (Wudu) fully, then face the Qiblah and say Allahu Akbar, and recite as much of the Qur’an as you easily can. After that bow (Ruku). Remain in the bowing long enough to become at rest. Then raise your head until you stand completely upright. Then prostrate and remain in the prostration long enough to attain rest. Then raise your head until you are upright and at rest in the sitting. Then prostrate until you attain rest in the prostration. Then raise your head and stand upright. Then do the same throughout your whole Prayer.”
AI-translated by Islam-Today
Book 15: If someone does something against his oath due to forgetfulness