It is narrated from Sayyiduna Abdullah bin Ja'far (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whoever forgets something of his prayer, let him make two prostrations while sitting."
Imam Ibn Khuzaymah (may Allah have mercy on him) said: "Abu Musa narrated it to us like this, from Uqbah bin Muhammad bin al-Harith, while the companions of Ibn Jurayj differ over the name of this shaykh. Hajjaj bin Muhammad and Abd al-Razzaq (may Allah have mercy on them both) narrated it from 'Utbah bin Muhammad', and to the best of my knowledge this is the correct one."
Related hadith on this topic