The Book of the Etiquette of Judges
كتاب آداب القضاة
Read the English translation first, with the original Arabic directly underneath.
Mentioning the Different Reports from Yahya Ibn Abi Ishaq
It was narrated that Abu Bakrah said:
"Allah protected me with something that I heard from the Messenger of Allah [ﷺ]. When Chosroes died, he said: 'Whom have they appointed as his successor?' They said: 'His daughter.' He said: 'No people will ever prosper who entrust their leadership to a woman.'"
أَخْبَرَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا خَالِدُ بْنُ الْحَارِثِ، قَالَ حَدَّثَنَا حُمَيْدٌ، عَنِ الْحَسَنِ، عَنْ أَبِي بَكْرَةَ، قَالَ عَصَمَنِي اللَّهُ بِشَىْءٍ سَمِعْتُهُ مِنْ، رَسُولِ اللَّهِ صلى الله عليه وسلم لَمَّا هَلَكَ كِسْرَى قَالَ " مَنِ اسْتَخْلَفُوا ". قَالُوا بِنْتَهُ. قَالَ " لَنْ يُفْلِحَ قَوْمٌ وَلَّوْا أَمْرَهُمُ امْرَأَةً ".