It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Ablution is not obligatory on the one who falls asleep in the state of prostration, until he lies down on his side; for when a person lies down, his joints become relaxed."
Hadith Referenceمسند أبي يعلى الموصلي / أول مسند ابن عباس / 2487
Hadith Takhrij«قال سعيد بن محمد السناري: منكر» «أخرجه سنن الترمذي برقم: 77، وأخرجه سنن أبي داود برقم: 202، وأخرجه مسند أحمد برقم: 2313، وأخرجه المعجم الكبير للطبراني برقم: 10706، 12748، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 606/4، مسند ابویعلیٰ ترقیم الاثری: 2482»