It is narrated from Ziyad al-Sahmi (may Allah have mercy on him) that the Messenger of Allah (peace and blessings be upon him) forbade having foolish women nurse (children), for milk passes on resemblance. This is mursal.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الرضاع / 15682