It is narrated from Sayyiduna Imran bin Husayn (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) made a mistake in a prayer, so he performed two prostrations in which he said the salam.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 15557