Hazrat Hammad says that there is no harm in wiping the hand over the forehead before completing the prayer.