I heard Allah's Messenger (ﷺ) as saying: He who is desirous that his means of sustenance…

Sahih Muslim Book 45 Hadith 23

Sahih Muslim #2557 a

The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship 45:23

Anas b. Malik reported:

I heard Allah's Messenger (ﷺ) as saying: He who is desirous that his means of sustenance should be expanded for him or his age may be lengthened, should join the tie of relationship.

Chapter: Upholding Ties Of Kinship, And The Prohibition Of Severing Them

Grade: Sahih