It is narrated from Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to make this supplication: 'Allahumma ahyini miskinan, wa tawaffani miskinan, wahshurni fi zumrat al-masakin' (O Allah, keep me alive among the needy, let my death come among the needy, and raise me (on the Day of Resurrection) with the needy).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب قسم الصدقات / 13151