Sunan Ibn Majah, Book 5, Hadith 162 (Ibn Majah 964)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said:

“It is impolite for a man to wipe his forehead a great deal before he finishes prayer.”