وَبِإِسْنَادِهِ قَالَ: نا الْوَلِيدُ، قَالَ: وَأَخْبَرَنِي أَبُو عَمْرٍو، عَنِ ابْنِ جُرَيْجٍ، عَنْ عَطَاءٍ، وَمُجَاهِدٍ، قَالَا: " مَنْ نَامَ رَاكِعًا أَوْ سَاجِدًا تَوَضَّأَ ".
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.