It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) prayed the Zuhr prayer as five rak'ahs, and so he performed the two prostrations of forgetfulness while seated.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12643