The Messenger of Allah ﷺ said, "It is a form of rudeness in prayer for a man to keep wiping his forehead before completing his prayer."
حدثنا عبد الرحمن بن إبراهيم الدمشقي حدثنا ابن أبي فديك حدثنا هارون بن عبد الله بن الهدير التيمي عن الأعرج
أن رسول الله ﷺ قال إن من الجفاء أن يكثر الرجل مسح جبهته قبل الفراغ من صلاته
No references are available.
[Its chain is daif]Busiri said, "This chain is daif, containing Harun bin Harun, and they have unanimously agreed on his being daif."