It is narrated from Sayyidah Aishah (may Allah be pleased with her) and Sayyiduna Abdullah bin Amr bin al-As (may Allah be pleased with them both) that they both said: "Whoever sleeps, in any position, in such a way that he loses awareness, ablution is obligatory on him."