The Prophet ﷺ said, "The feet of the son of Adam will not move from before his Lord on the Day of Resurrection until he is questioned about five things: about his life and how he spent it, about his youth and how he wore it out, about his wealth, where he earned it and how he spent it, and what he did with the knowledge he had."
حدثنا حميد بن مسعدة حدثنا حصين بن نمير أبو محصن حدثنا حسين بن قيس الرحبي حدثنا عطاء بن أبي رباح عن ابن عمر
عن النبي ﷺ قال لا تزول قدم ابن آدم يوم القيامة من عند ربه حتى يسأل عن خمس عن عمره فيم أفناه وعن شبابه فيم أبلاه وماله من أين اكتسبه وفيم أنفقه وماذا عمل فيما علم
[Its chain of transmission is daif]. Tabarani also narrated it in Al-Kabir (8/10, 9, no. 9772) from the hadith of Humayd bin Masada, through him. Husayn bin Qays Rahbi is matruk (Taqrib, 1342). This hadith has many corroborating narrations, including the hadith that follows.There is also a report on this subject from Abu Barza [coming up at 2417] and Abu Saeed. Mubarakpuri said, "Bayhaqi narrated it in his book Al-Bath wal-Nushur, as mentioned in Al-Mishkah" (Tuhfat al-Ahwadhi, 3/291).