"My brother willed a portion of his wealth to me. So I met Abu Ad-Darda and said: 'My brother has willed a portion of his wealth to me, so where do you suggest that I should give it- to the poor, the needy, or the Mujahidin in Allah's Cause?' He said: 'As for me, then I would not consider them equal to the Mujahidin. I heard the Messenger of Allah ﷺ saying: "The parable of the one who frees a slave at the time of his death is that of the one who gives a gift when he is satisfied (fulfilled his needs)." (Using translation from Tirmidhī 2123)
أَوْصَى إِلَيَّ أَخِي بِطَائِفَةٍ مِنْ مَالِهِ قَالَ فَلَقِيتُ أَبَا الدَّرْدَاءِ فَقُلْتُ إِنَّ أَخِي أَوْصَانِي بِطَائِفَةٍ مِنْ مَالِهِ فَأَيْنَ أَضَعُهُ فِي الْفُقَرَاءِ أَوْ فِي الْمُجَاهِدِينَ أَوْ فِي الْمَسَاكِينَ؟ قَالَ أَمَّا أَنَا فَلَوْ كُنْتُ لَمْ أَعْدِلْ بِالْمُجَاهِدِينَ سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَثَلُ الَّذِي يُعْتِقُ عِنْدَ الْمَوْتِ مَثَلُ الَّذِي يُهْدِي إِذَا شَبِعَ