Surah Ash-Shura, ayah 50

42:50

أَوۡ يُزَوِّجُهُمۡ ذُكۡرَانٗا وَإِنَٰثٗاۖ وَيَجۡعَلُ مَن يَشَآءُ عَقِيمًاۚ إِنَّهُۥ عَلِيمٞ قَدِيرٞ ٥٠

Aw yuzawwijuhum dhukrānan wa ināthan wayaj'alu man yashā'u 'aqīman innahū 'alīmun qadīr

Or He makes them [both] males and females, and He renders whom He wills barren. Indeed, He is Knowing and Competent.