[Machine] The Messenger of Allah ﷺ said, "When one of you prays, he does not know whether he has prayed three or four (rak'ahs). So let him perform one extra rak'ah, perfecting its prostration and bowing, and then make two prostrations."
قَالَ رَسُولُ اللَّهِ ﷺ «إِذَا صَلَّى أَحَدُكُمْ فَلَا يَدْرِي كَمْ صَلَّى ثَلَاثًا أَمْ أَرْبَعًا فَلْيَرْكَعْ رَكْعَةً يُحْسِنُ سُجُودَهَا وَرُكُوعَهَا ثُمَّ يَسْجُدُ سَجْدَتَيْنِ»