The author (may Allah shower blessings on him) reported on the authority of Aboo Hurayrah (may Allah be pleased with him) that the Prophet ﷺ said: 'A woman is married for four things: her wealth, her lineage, her beauty and her Deen. Select the Deen, may you be blessed.'
That is, the major reasons why people marry women can be summed up in these four things:
Wealth, so that the prospective husband may make use of it.
Lineage, she should come from a noble family, so that he can take pride in it.
Beauty, so that he can enjoy her.
Deen, so that she will assist him on his religious commitment, preserve his trust and take care of his children.
The Prophet ﷺ said: "Select the Deen, may you be blessed." That is, choose the one who possesses piety and crave for her. So the Prophet ﷺ fortified that with his statement ﷺ: 'Taribat Yadaaka', may you be blessed. The Arabs use this expression to encourage a particular thing.
Then the author (may Allah shower blessings on him) mentioned the Hadeeth of Jibreel that the Prophet ﷺ said: 'What prevents you from visiting us more frequently? Then this verse was revealed:
"And we (angels) descend not except by the Command of your Lord (O Muhammad). To Him belongs what is before us and what is behind us, and what is between those two, and your Lord is never forgetful'. [Mar'yam: 64].
This is evidence for requesting the people of honour to drop by
your house; thus, you invite them to visit you in order to benefit from their company.
Likewise, the Hadeeth of Aboo Hurayrah (may Allah be pleased with him) shows that the company of a righteous woman would assist you with regards to the Religion of Allah – the Mighty and Sublime.
And it has earlier been mentioned that the similitude of a good company is comparable to sitting with a perfume seller; he may give you, sell it to you or you acquire a pleasant smell from him.
Then the author (may Allah shower blessings on him) mentioned some Ahaadeeth with this connotation. It was reported from the Prophet ﷺ that he said: ‘A man follows his friend’s religion; you should be careful who you take for friends’. This means a man will model his Religion and character after the company he keeps, so each of you should be wary of whom he takes as a friend. Hence, if he keeps company of the righteous, he will be one of them; and if he keeps company of bad people, he will be one of them.
Summarily, these Ahaadeeth, and their likes, show that it is important for one to keep company of righteous people; he should visit them and invite them to visit him too because of the attendant benefits.
Allah Alone grants success.