Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
malik:3-67Mālik > ʿUmar b. Muḥammad b. Zayd > Sālim b. ʿAbdullāh

Yahya related to me from Malik from Umar ibn Muhammad ibn Zayd from Salim ibn Abdullah that Abdullah ibn Umar used to say, "If you are uncertain in the prayer, estimate what you think you have forgotten of the prayer and repeat it, then do the two sajdas of forgetfulness from the sitting position."  

مالك:٣-٦٧وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ عُمَرَ بْنِ مُحَمَّدِ بْنِ زَيْدٍ عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ

أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ يَقُولُ إِذَا شَكَّ أَحَدُكُمْ فِي صَلاَتِهِ فَلْيَتَوَخَّ الَّذِي يَظُنُّ أَنَّهُ نَسِيَ مِنْ صَلاَتِهِ فَلْيُصَلِّهِ ثُمَّ لِيَسْجُدْ سَجْدَتَىِ السَّهْوِ وَهُوَ جَالِسٌ  


See similar narrations below:

Collected by Mālik
malik:3-69Mālik > Nāfiʿ

Yahya related to me from Malik from Nafi that Abdullah ibn Umar, when questioned about forgetfulness in the prayer, said, "If you think that you have forgotten part of the prayer, then pray it."  

مالك:٣-٦٩وَحَدَّثَنِي عَنْ مَالِكٍ عَنْ نَافِعٍ

أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ كَانَ إِذَا سُئِلَ عَنِ النِّسْيَانِ فِي الصَّلاَةِ قَالَ لِيَتَوَخَّ أَحَدُكُمُ الَّذِي يَظُنُّ أَنَّهُ نَسِيَ مِنْ صَلاَتِهِ فَلْيُصَلِّهِ