"I said to Abu Sa'eed: 'One of us performs Salat and we do not know how (much) we prayed.' So he said: 'Messenger of Allah (S) said: "When one of you performs Salat and he does now know how (much) he prayed then let him perform two prostrations while he is sitting."
قُلْتُ لأَبِي سَعِيدٍ أَحَدُنَا يُصَلِّي فَلاَ يَدْرِي كَيْفَ صَلَّى فَقَالَ قَالَ رَسُولُ اللَّهِ ﷺ إِذَا صَلَّى أَحَدُكُمْ فَلَمْ يَدْرِ كَيْفَ صَلَّى فَلْيَسْجُدْ سَجْدَتَيْنِ وَهُوَ جَالِسٌ قَالَ وَفِي الْبَابِ عَنْ عُثْمَانَ وَابْنِ مَسْعُودٍ وَعَائِشَةَ وَأَبِي هُرَيْرَةَ