Almsgiving on behalf of Imam Mahdi
This work is one of the signs of amity and friendship toward Imam Mahdi. One of the recommended tasks ordained by God in his Book to his servants is to do almsgiving on behalf of the (Islam’s) Prophet’s kinsmen and relatives. You don’t notice that whenever you worry about your child or dear ones you pay alms in order to keep them safe from dangers? Thus, your Imam is the most deserved for such a deed (almsgiving).
As evidence to what we mentioned, we can refer to Sheikh Saduq who writes down a document referring to the saying of Prophet: “No one has believed faithfully in me unless he loves me more dearly than himself, and my family more than his and my progeny and kinsmen more than his, and my own self and his own self.”
We can infer from this Hadith that expressing affinity toward him (Imam Mahdi (PBUH)) is as pleasant as the extent that a believer is fond of his kinsmen, children and family and expresses his affinity toward them.
Mekyal al Makarem
The text from : islampfr.com