Ash-Shura - 42:50

أَوْ يُزَوِّجُهُمْ ذُكْرَانًا وَإِنَاثًا وَيَجْعَلُ مَن يَشَاء عَقِيمًا إِنَّهُ عَلِيمٌ قَدِيرٌ
[42:50]
Or He makes them of both sorts, male and female; and He makes whom He pleases barren; surely He is the Knowing, the Powerful.
Or He bestows both males and females, and He leaves barren whom He will: for He is full of Knowledge and Power.
Or He mingleth them, males and females, and He maketh barren whom He will. Lo! He is Knower, Powerful.