حَدَّثَنَا مُوسَى بْنُ مُحَمَّدٍ ، حَدَّثَنَا رَوْحُ بْنُ عُبَادَةَ ، حَدَّثَنَا ابْنُ جُرَيْجٍ قَالَ : حَدَّثَنِي عَبْدُ اللهِ بْنُ مُسَافِعٍ ، أَنَّ مُصْعَبَ بْنَ شَيْبَةَ أَخْبَرَهُ ، عَنْ عُقْبَةَ بْنِ مُحَمَّدِ بْنِ الْحَارِثِ ، عَنْ عَبْدِ اللهِ بْنِ جَعْفَرٍ ، أَنَّ رَسُولَ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - قَالَ : مَنْ شَكَّ فِي صَلَاةٍ ، فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ .
It is narrated from Sayyiduna Abdullah bin Ja'far (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever has a doubt during the prayer (about the number of rak'ahs or the like), let him perform two prostrations (of forgetfulness) while sitting (for the tashahhud)."