Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:37:150

Or did We create the angels as females while they were witnesses?"  

Or did We create the angels females while they were witnesses?, to Our ˹act of˺ creation, that they might then say such a thing?
القرآن:٣٧:١٥٠

أَمْ خَلَقْنَا الْمَلَائِكَةَ إِنَاثًا وَهُمْ شَاهِدُونَ  

{أم خلقنا الملائكة إناثا وهم شاهدون} خلقنا فيقولون ذلك.