English : Vol. 1, Book 5, Hadith 1211
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
لَوْ حَدَثَ فِي الصَّلاَةِ شَىْءٌ لأَنْبَأْتُكُمُوهُ وَإِنَّمَا أَنَا بَشَرٌ أَنْسَى كَمَا تَنْسَوْنَ فَإِذَا نَسِيتُ فَذَكِّرُونِي وَأَيُّكُمْ مَا شَكَّ فِي الصَّلاَةِ فَلْيَتَحَرَّ أَقْرَبَ ذَلِكَ مِنَ الصَّوَابِ فَيُتِمَّ عَلَيْهِ وَيُسَلِّمَ وَيَسْجُدَ سَجْدَتَيْنِ "
It was narrated that "Abdullah said:
"The Messenger of Allah (ﷺ) offered prayer, and I am not sure whether he did something extra or omitted something. He asked, and we told him, so he turned to face the Qiblah and prostrated twice, then he said the Salam. Then he turned to face us and said: "If any new command has been revealed concerning the prayer, I would certainly have told you. But I am only human and I forget and you forget. If I forget, then remind me. And if anyone of you is uncertain about the prayer, let him do what is closest to what is correct, then complete the prayer, say the Salam and prostrate twice."
Full reference and source
English : Vol. 1, Book 5, Hadith 1211 Arabic : Book 5, Hadith 1268
View source on Sunnah.com (opens in a new tab)