@Hafez
The famous Egyptian scholar Muḥammad Āl-Ġazālī Āl-Saqā understood that ḥadīṯ to be specific; he derives that conclusion from the Qurʾānic story of Solomon and the Queen of Sheba. She rules over a very powerful kingdom that worships the sun instead of God. When Solomon convinces her by way of miraculous signs to abandon her idolatry, she professes, ‘I submit before God, along with Solomon, to the Lord of all the worlds’[1] . Āl-Ġazālī maintains then that she was a leader who not only ruled over a flourishing realm but also guided it from religious error to the straight path of Islam. And since a general reading of that ḥadīṯ would contradict the Qurʾān he concluded that the former shouldn’t be understood in that sense. He further goes on to describe how that ḥadīṯ was narrated from the Prophet (ﷺ) by a Companion who recalled that, 'When it reached the Prophet that the Persians had placed the daughter of [their former king] Chosroes on the throne, he said, "A country that entrusts its affairs to a woman will not flourish."' The Prophet was merely remarking on the dismal condition of the Persian Empire's ruling family, which, in fact, was plagued with a cycle of no less than eight hapless emperors in the four years between 628 and 632. These included two daughters from the royal family, neither of whom had any experience with command. Therefore the ḥadīṯ isn’t universal, concluded Āl-Ġazālī.[2]
[1] : The Holy Qurʾān,
(27:23-44).
[2] : Muḥammad Āl-Ġazālī Āl-Saqā, Āl-Sunnah Āl-Nabawiyyah, p. 53, 58.