Sayyiduna Jabir (may Allah be pleased with him) narrates this saying of the Prophet (peace and blessings be upon him): "The things that make the friendship of Allah obligatory are three: when a person sees a right among the rights of Allah Almighty, he does not delay fulfilling it until days when he cannot attain it; that a person does good deeds openly exactly as he does them in secret; and that whatever he receives, he uses it to strive for the betterment of the Hereafter." The Prophet (peace and blessings be upon him) said: "This is how the friend (wali) of Allah is," and he showed the number thirty with his hand.
Imam al-Tabarani recorded this narration in al-Mu'jam al-Awsat; its chain contains narrators whom I do not know.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 17945
Hadith Gradingمحدثین:إسنادہ ضعیف
Hadith Takhrij«أخرجه المعجم الأوسط للطبراني برقم: 6133»