It has been narrated that Prophet Muhammad (pbuh) said:
"No one will be allowed to move from his position on the Day of Judgement until he has been asked how he spent his life, how he used his knowledge, how he earnt and spent his money and in what pursuits he used his health"
Related in Tirmidhi