It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "The Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) used to lie down on their sides and sleep; then some of them would perform ablution and some would not."
I say: this chain is sahih (authentic).
Imam al-Bazzar (may Allah have mercy on him) recorded it in his Musnad from Sayyiduna Anas bin Malik (may Allah be pleased with him): "The Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) used to lie down on their sides and sleep."
In Sahih Muslim, Sunan Abi Dawud and Sunan al-Tirmidhi it is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him): "The Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) used to fall asleep (while waiting for the prayer), then they would pray and not perform ablution." Qatadah (may Allah have mercy on him) was asked: "Did you hear this yourself from Sayyiduna Anas bin Malik (may Allah be pleased with him)?" He replied: "Yes, by Allah!" These are the words of Sahih Muslim.
Imam al-Bayhaqi (may Allah have mercy on him) recorded in his al-Sunan al-Kubra from Sayyiduna Anas bin Malik (may Allah be pleased with him): "In the blessed time of the Messenger of Allah (peace and blessings be upon him), the Companions (may Allah be pleased with them) would sleep, then get up and pray, and not perform ablution."
Then he recorded it through the route of Sayyiduna Anas bin Malik (may Allah be pleased with him) that he said: "I saw the Companions of the Messenger of Allah (peace and blessings be upon him) (may Allah be pleased with them) being woken for the prayer, to the extent that I would hear the sound of snoring from one of them; then they would get up and pray, and not perform ablution."
Imam Ibn al-Mubarak (may Allah have mercy on him) said: "In our view this (not performing ablution) applies when they were (dozing) while sitting." Imam al-Bayhaqi (may Allah have mercy on him) said: "Abd al-Rahman bin Mahdi (may Allah have mercy on him) and Imam al-Shafi'i (may Allah have mercy on him) also interpreted it in this sense, and the narrations of these two Imams on this have been recorded in 'al-Khilafiyyat'."