It is narrated from Sayyiduna Ali (may Allah be pleased with him) that he went to a large market (Suq al-Karabis) and, addressing an elderly man there, said: "O elder! Do me the kindness of selling me a shirt for three dirhams." He said: "Certainly, O Commander of the Believers!" But when he (may Allah be pleased with him) realised that the man had recognised him, he did not buy from him (so that he would not receive a concession because of his position). Then he (may Allah be pleased with him) came to a young boy and bought a shirt from him for three dirhams. He put it on, and it reached from his wrists to his ankles, and he recited this supplication: 'Al-hamdu lillahi alladhi razaqani min al-libasi ma atajammalu bihi fi al-nasi wa uwari bihi 'awrati' (All praise is for Allah, who has provided me with clothing with which I adorn myself among people and by which I cover my nakedness). When the people asked, he (may Allah be pleased with him) said: "I heard the Messenger of Allah (peace and blessings be upon him) say this when putting on a garment." During this incident he (may Allah be pleased with him) also advised a man: "Raise your lower garment, for that is cleaner for your garment and closer to the fear of Allah (taqwa); and if you are a Muslim, have the hair of your head trimmed as well (according to the Sunnah)." Later, when the boy's father came to the shop and learned that his son had given the Commander of the Believers a shirt for three dirhams, he said that its price was only two dirhams. So he came into his (may Allah be pleased with him) presence to return one dirham and said: "O Commander of the Believers! Please take back this one dirham, for its price was two dirhams." He (may Allah be pleased with him) said: "He sold it to me with my consent, and I took it willingly (that is, this transaction was completed with the mutual consent of both parties)."
Imam al-Bayhaqi also transmitted this report in his Sunan, and Imam Ishaq bin Rahwayh, Imam Abd bin Humayd, and Imam al-Tabarani in Kitab al-Du'a also narrated it; it has already passed in full in the chapter 'Bab al-Samahah fi al-Bay'' (Leniency in selling).
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب القضاء وما على القاضي في الخصوم والشهود / 4889
Hadith Gradingمحدثین:سكت عنه البوصيري، إسناده ضعيف؛ لضعف مختار بن نافع وجهالة أبي مطر البصري
Hadith Takhrij«مختار بن نافع التمار: ضعيف (التقريب)؛ أبو مطر البصري: مجهول (من الحفظ)؛ ومحمد بن عبد الله بن عمار والمعافى بن عمران ثقتان (من الحفظ).»