Abu Hurairah reported,

The Messenger of Allah ﷺ said, "When one of you wakes from sleep at night, he should not dip his hand into the water vessel until he has poured water over it two or three times, for none of you knows where his hand has spent the night."

Ibn Majah 393

Sahih

حدثنا عبد الرحمن بن إبراهيم الدمشقي حدثنا الوليد بن مسلم حدثنا الأوزاعي حدثني الزهري عن سعيد بن المسيب وأبي سلمة بن عبد الرحمن أنهما حدثاه أن

أبا هريرة كان يقول

قال رسول الله ﷺ إذا استيقظ أحدكم من الليل فلا يدخل يده في الإناء حتى يفرغ عليها مرتين أو ثلاثا فإن أحدكم لا يدري فيم باتت يده

ابن ماجه 393صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Purification and its sunnahs
Chapter
A man waking from sleep, should he put his hand in the vessel before washing it
Numbering
Darussalam 393
Ibn Majah 393