Musa, the son of Sayyiduna Muhammad bin Hatib (may Allah be pleased with him), narrates from his father that the Messenger of Allah (peace and blessings be upon him) said: "When one of you is deprived of a wife and children, he should take up jihad."
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 16592