As the city of Makkah...
As the city of Makkah, was a place of peace, it enjoyed superiority over all other places where the immigrants had settled and as it was recognized to be the House of Allah ; the means of welfare, comfort and sustenance were available there and the servants of the Ka'ba paid due attention to the newcomers. For this reason the homeless persons were living there in great comfort without any molestation from any side.
When the three brothers lost all hope of locating their brother, Malik and Harith returned home, but Yasir stayed on in Makkah and became an ally of Abu Huzayfa, the chief of Bani Makhzum. Abu Huzayfa looked after Yasir, and on account of the fact that Abu Huzayfa was so kind and benevolent to him, Yasir also showed great faithfulness and sincerity for him.
Like his brother Hisham in the past and like his second brother Walid afterwards, Abu Huzayfa was a kind and noble chief and leader and a magnanimous guardian of his tribe.
He also showed great love and affection for his new ally and loved and respected this stranger 'Unasi whom destiny had compelled to leave his home and country .It would appear that this kind and noble hearted person could see his future to be bright and felt that this man would acquire a high status in future and would become one of the elders of the community. It was for this reason that he becomes his ally and always respected him.
Yasir also valued the good opinion of Abu Huzayfa and did not take undue advantage of his heartfelt love. And notwithstanding the fact that he was nothing more than a stranger he preserved his self-respect and freedom of thought with perfect purity and sincerity.
Such wise behaviour and noble conduct coupled with sincerity, cordiality and faithfulness elevated the position of Yasir so much that within a short time he came to be known as a Makhzumi, acquired all the rights enjoyed by the tribe and was introduced as one of their notable personalities. He also attended the assemblies of Quraysh and was highly respected everywhere.
One day Abu Huzayfa thought of selecting a wife for his 'Unasi ally so that he might get rid of loneliness and he also hoped that Allah might favour him with a worthy child. He, therefore, gave him in marriage Sumayya, daughter of Khayyat who was the noblest and the chastest of his slave girls and decided that her children and her husband would be treated to be freemen.