he did not make two prostrations (at the end of prayer) due to forgetfulness until Allah gave him satisfaction about it.
Sunan Abi Dawud Book 2, Hadith 623