Thauban bin Bujdud (May Allah be pleased with him) reported: Messenger of Allah (PBUH) said, "The most excellent dinar is one that a person spends on his family, and the dinar which he spends on his riding-animal in the way of Allah (in Jihad), and the dinar he spends on his companions in the way of Allah".[Muslim].
This Hadith relates to the same subject which has been mentioned in the previous Hadith. It stresses that men of small means should first of all spend on their own families and children. It is in fact an act of great merit. After fulfilling their needs, if he still has something left with him then he can spend it on other items in the order of precedence mentioned in the Hadith.