He had met Ali , and reported that Ali bought a garment for three dirhams. When he put it on, he said, "Praise be to Allah who has provided me with clothing by which I may appear becoming among people and cover my nakedness." Then he said, "This is how I heard the Messenger of Allah ﷺ say it."
حدثنا عبد الله حدثني سويد بن سعيد حدثنا مروان الفزاري عن المختار بن نافع
وكان قد أدرك عليا رضي الله عنه أن عليا اشترى ثوبا بثلاثة دراهم فلما لبسه قال الحمد لله الذي رزقني من الرياش ما أتجمل به في الناس وأواري به عورتي ثم قال هكذا سمعت رسول الله ﷺ يقول
Its isnad is daif. This is an abridged version, and it will come at greater length at 1354, with a detailed discussion of it there.