[Machine] The Messenger of Allah ﷺ said: "If a person raises his head from prostration at the end of his prayer and speaks before saying the salaam, then his prayer is valid. And like this."
قَالَ رَسُولُ اللهِ ﷺ إِذَا رَفَعَ الرَّجُلُ رَأْسَهُ مِنَ السُّجُودِ فِي آخِرِ صَلَاتِهِ ثُمَّ أَحْدَثَ قَبْلَ أَنْ يُسَلِّمَ فَقَدْ جَازَتْ صَلَاتُهُ وَهَكَذَا