The Prophet ﷺ said, "A people who entrust their affairs to a woman will never succeed."
حدثنا يحيى عن عيينة حدثني أبي
عن النبي ﷺ قال لن يفلح قوم أسندوا أمرهم إلى امرأة
Its isnad is sahih. It is found in Bukhari 8/126, no. 4425 Fath, Tirmidhi 4/257, no. 2262, where he said, hasan sahih, and Nasai 8/227, in "The Etiquette of Judges, The Prohibition of Employing Women."