Abu Hurairah reported,

The Prophet ﷺ said, "When one of you wakes up from sleep at night, he should not put his hand into the vessel until he has poured water over it two or three times, for he does not know where his hand spent the night."

Tirmidhi 24

Sahih

حدثنا أبو الوليد أحمد بن بكار الدمشقي يقال هو من ولد بسر بن أرطاة صاحب النبي ﷺ حدثنا الوليد بن مسلم عن الأوزاعي عن الزهري عن سعيد بن المسيب وأبي سلمة

عن أبي هريرة

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

الترمذي 24صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Purification
Chapter
When one of you wakes from sleep, he should not dip his hand in the vessel until he washes it
Numbering
Darussalam 24
Tirmidhi 24