حَدَّثَنَا يَحْيَى بْنُ بُكَيْرٍ، حَدَّثَنَا اللَّيْثُ، عَنْ عُقَيْلٍ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَنِي عُرْوَةُ بْنُ الزُّبَيْرِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ زَوْجِ النَّبِيِّ صلى الله عليه وسلم أَنَّ أَبَا حُذَيْفَةَ وَكَانَ مِمَّنْ شَهِدَ بَدْرًا مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم تَبَنَّى سَالِمًا، وَأَنْكَحَهُ بِنْتَ أَخِيهِ هِنْدَ بِنْتَ الْوَلِيدِ بْنِ عُتْبَةَ ـ وَهْوَ مَوْلًى لاِمْرَأَةٍ مِنَ الأَنْصَارِ ـ كَمَا تَبَنَّى رَسُولُ اللَّهِ صلى الله عليه وسلم زَيْدًا، وَكَانَ مَنْ تَبَنَّى رَجُلاً فِي الْجَاهِلِيَّةِ دَعَاهُ النَّاسُ إِلَيْهِ، وَوَرِثَ مِنْ مِيرَاثِهِ حَتَّى أَنْزَلَ اللَّهُ تَعَالَى ‏ Begin hadith 2‏ فَجَاءَتْ سَهْلَةُ النَّبِيَّ صلى الله عليه وسلم، فَذَكَرَ الْحَدِيثَ‏.‏

Narrated `Aisha: (the wife of the Prophet) Abu Hudhaifa, one of those who fought the battle of Badr, with Allah's Apostle adopted Salim as his son and married his niece Hind bint Al-Wahd bin `Utba to him' and Salim was a freed slave of an Ansari woman. Allah's Messenger (PBUH) also adopted Zaid as his son. In the Prelslamic period of ignorance the custom was that, if one adopted a son, the people would call him by the name of the adopted-father whom he would inherit as well, till Allah revealed: "Call them (adopted sons) By (the names of) their fathers." (33.5) Translation Not Available

Book Ref: Sahih Bukhari Book 64 Hadith 4000
Web Ref:  Sahih Bukhari Vol 5 Book 59 Hadith 335