While discussing verse 4:15
Those who commit unlawful sexual intercourse of your women - bring against them four [witnesses] from among you. And if they testify, confine the guilty women to houses until death takes them or Allah ordains for them [another] way.
Imam al-Qurtobi commented in his tafsir saying :
ولا بد أن يكون الشهود ذكورا ؛ لقوله : ...