Sunan Ibn Majah · Hadith 515
The Book of Purification and its Sunnah - كتاب الطهارة وسننها
حدثنا محمد بن المصفى الحمصي، حدثنا بقية، عن الوضين بن عطاء، عن محفوظ بن علقمة، عن عبد الرحمن بن عائذ الأزدي، عن علي بن أبي طالب، أن رسول الله صلى الله عليه وسلم قال " العين وكاء السه فمن نام فليتوضأ " .
It was narrated from 'Ali bin Abu Talib that: The Messenger of Allah said: "The eye is the leather strap (that ties up) the anus, so whoever falls asleep, let him perform ablution."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).