Abu Bakra reported,

Allah benefited me with a word I heard from the Messenger of Allah ﷺ during the days of the Battle of the Camel, after I had nearly joined the people of the Camel and fought alongside them.He said, "When news reached the Messenger of Allah ﷺ that the people of Persia had appointed the daughter of Khosrow as their ruler, he said, 'A people who entrust their affairs to a woman will never prosper.'"

Azami 9749

Sahih

عن أبي بكرة قال

لقد نفعني الله بكلمة سمعتها من رسول الله ﷺ أيام الجمل بعدما كدت أن ألحق بأصحاب الجمل فأقاتل معهم قال: لما بلغ رسول الله ﷺ أن أهل فارس قد ملكوا عليهم بنت كسرى قال: لن يفلح قوم ولوا أمرهم امرأة.

الأعظمي 9749صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
What came true of his prophecies
Section
His saying that a people who entrust their affairs to a woman will never succeed
Numbering
Jami al-Kamil 9749 (2nd edition)
Azami 9749