1570 صحيح حديث عَبْدِ اللهِ بْنِ عُمَرَ، أَنَّ زَيْدَ بْنَ حَارِثَةَ، مَوْلَى رَسُولِ اللهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، مَا كُنَّا نَدْعُوهُ إِلاَّ زَيْدَ بْنَ مُحَمَّدٍ حَتَّى نَزَلَ الْقُرْآن (ادْعُوهُمْ لآبَائِهِمْ هُوَ أَقْسَطُ عِنْدَ اللهِ)
Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrated that the freed slave of the Messenger of Allah (peace and blessings of Allah be upon him), Zaid bin Harithah (may Allah be pleased with him), used to be called by us as Zaid bin Muhammad (peace and blessings of Allah be upon him), until the verse was revealed in the Noble Qur'an: "Call them by (the names of) their fathers; that is more just in the sight of Allah."
Brief Explanation
In Islamic law, an illegitimate boy or girl has no standing. They will not receive rights like those of real offspring. (Raaz)