Jabir bin Abdullah reported,

The Messenger of Allah ﷺ came to us and saw a disheveled man whose hair was unkempt, so he said, "Could this man not find something to tidy his hair with?" Then he saw another man wearing dirty clothes and said, "Could this man not find water to wash his garment with?"

Azami 15304

Sahih

عن جابر بن عبد الله قال

أتانا رسول الله ﷺ فرأى رجلا شعثا قد تفرق شعره فقال: أما كان يجد هذا ما يسكن به شعره، ورأى رجلا آخر وعليه ثياب وسخة، فقال: أما كان هذا يجد ماء يغسل به ثوبه.

الأعظمي 15304صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Types of clothing and its colors
Section
Dislike of wearing worn and dirty clothes when one has better than them
Numbering
Jami al-Kamil 15304 (2nd edition)
Azami 15304