Question:
A person intended to pray one rak’ah of Witr, but forgetfully prayed two rak’ahs. What is the ruling?
Answer:
He should perform the prostration of forgetfulness (sujud al-sahw), and his prayer is valid. The extra rak’ah and the two prostrations of forgetfulness will become voluntary prayers for him.