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 Camel faction to fight alongside them.He said, when news reached the Messenger of Allah ﷺ that the people of Persia had appointed the daughter of Khosrau as their ruler, the Messenger of Allah ﷺ said, "A people who entrust their affairs to a woman will never succeed."

Bukhari 4425

Sahih

حدثنا عثمان بن الهيثم حدثنا عوف عن الحسن

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

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

البخاري 4425صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Letter of the Prophet ﷺ to Chosroes and Caesar
Numbering
Darussalam 4425
Bukhari 4425