Hadith.842 - It was narrated from Imam Jafar ibn Muhammad Al-Sadiq عليه السلام that He said:
"It is disliked (makruh) because it may cause harm to the person next to him."
It is disliked for a man to wipe the dust from his forehead while in prayer, and it is also disliked to leave it there after the prayer. However, if a person wipes the dust from his forehead while in prayer, there is no issue, as leniency has been reported regarding this matter.