It is narrated from Ata and Mujahid (may Allah have mercy on them both) that whoever falls asleep in the state of bowing or prostration should perform ablution.