“The two feet of the son of Adam will not move from near his Lord on the day of Judgement until he is asked about five (matters) about his life - how he spent it; about his youth - how he took care of it; about his wealth - how he earned it; and where he spent it and about that which he acted upon from the knowledge he acquired.”
(at-Tirmidhi, and others, see Saheeh Sunan at-Tirmidhi, no. 1969, and as Silsilah as Saheehah no.946).