Surah Az-Zukhruf 43:17
وَإِذَا بُشِّرَ أَحَدُهُم بِمَا ضَرَبَ لِلرَّحْمَـٰنِ مَثَلًا ظَلَّ وَجْهُهُۥ مُسْوَدًّا وَهُوَ كَظِيمٌ
And when one of them is given good tidings of that which he attributes to the Most Merciful in comparison [i.e., a daughter], his face becomes dark, and he suppresses grief.
Translation: Saheeh International
Tafsir
And when one of them is given the good tidings of that which he has attributed to the Compassionate One of that which he has likened to Him by the ascription to Him of daughters — for a child is likened to its parent; …
Excerpt from Tafsir al-Jalalayn, commentary on 43:17, via Quran.com. The reader has the full commentary and 9 more tafsirs.