It is narrated from Kamaaluddin Ibn Ghiyas Qummi in Irshadul Qulub:
I entered the Mausoleum of my Master (a.s.). I stood up after my prayer, ziyarat and entreaty. A nail of the shrine twisted in my coat and ripped it. Instantly, I spoke “I would want the recompense from you, My Master and none else.”
A man of a non-Shia dispensation, standing near me remarked jokingly, “You will surely get a coat and cloak.”
I travelled to Hilla, a small town in Iraq (with a predominantly Shia population) after the visitation. Kamaaluddin Ibn Qashm Nasiri had arranged for a cloak and coat to be taken to Baghdad. His servant approached me and said: The presence of Kamaaluddin Qummi is requested. He caught my hand, guided me to a room and covered (presented) me with the new cloak and coat. I came out of the room and moved towards Ibn Qashm, saluted him and began to pay him respect, when he looked towards me with disdain. Turning to his servant, he spoke: I had solicited for such and such person. The servant entreated, master I have brought the person you had called for, you can confirm this in the gathering present and he is the same Kamaaluddin Qummi. I interjected; O chief! It is not you who presented me this dress; rather, it is Ameerul Momineen (a.s.).
I narrated the entire incident on his request. On hearing it, he fell in prostration and said: All appreciation is for Allah, who has bestowed this honour through me.
Irshadul Qulub, vol. 2, pg. 343. Biharul Anwaar, vol. 42, pg. 314.