Sahih Bukhari | Volume 8 | Hadith Number 807

Narrated by 'Aisha
Sa'd bin Abi Waqqas and 'Abd bin Zam'a quarrelled with each other (regarding a child). The Prophet said, "The boy is for you, O 'Abd bin Zam'a, for the boy is for (the owner) of the bed. O Sauda ! Screen yourself from the boy." The sub-narrator, Al-Laith added (that the Prophet also said), "And the stone is for the person who commits an illegal sexual intercourse."