It is narrated from Sayyiduna Umar (may Allah be pleased with him) that he said: "When a person lays his side down on the ground (in order to sleep), let him perform ablution."
I say: this narration is mursal and da'if (weak), and Muhammad bin Umar in its chain means al-Waqidi; Imam al-Bayhaqi (may Allah have mercy on him) recorded it in his book al-Sunan al-Kubra through Muhammad bin Umar al-Waqidi himself.