Narrated AbuHurayrah:
The Prophet (ﷺ) said: If anyone prays over the dead in the mosque, there is nothing on him.