Ash-Shura • EN-TAFSIR-IBN-ABBAS
﴿ أَوْ يُزَوِّجُهُمْ ذُكْرَانًۭا وَإِنَٰثًۭا ۖ وَيَجْعَلُ مَن يَشَآءُ عَقِيمًا ۚ إِنَّهُۥ عَلِيمٌۭ قَدِيرٌۭ ﴾
“or He gives both male and female [to whomever He wills], and causes to be barren whomever He wills: for, verily, He is all-knowing, infinite in His power.”
(Or He mingleth them, males and females) as was the case with the Prophet Muhammad (pbuh) (and He maketh barren whom He will) as was the case with the Prophet John the son of Zachariah. (Lo! He is Knower, Powerful) regarding that which He gives of males or females.