It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed, the eyes are the drawstring of the backside, so whoever sleeps should perform ablution."
Imam Ahmad (may Allah have mercy on him) narrated it through Ali bin Bahr (may Allah have mercy on him) from Baqiyyah (may Allah have mercy on him).
Ishaq bin Rahwayh (may Allah have mercy on him) also narrated it from Baqiyyah (may Allah have mercy on him).
And Imam Abu Dawud (may Allah have mercy on him) narrated it through Haywah bin Shurayh (may Allah have mercy on him) from Baqiyyah (may Allah have mercy on him).
And Imam Ibn Majah (may Allah have mercy on him) narrated it through Ibn Musaffa (may Allah have mercy on him).