Sahih Muslim Book 20, Hadith Number 4675.

Chapter : The wives of Mujahids, a sacred trust, and sinfulness of those who betray this trust.

A version of the tradition narrated on the authority of ‘Alqama b. Murthad has a differently worded end: It will be said to the Mujahid: Take from his noble deeds whatever you like. Then the Messenger of Allah (may peace be upon him) turned to us and asked: What do you think (will he leave anything)?-(i.e. he will take away everything).