Sahih Bukhari Volume 9, Book 88, Hadith Number 219.
Narrated By Abu Bakra : During the battle of Al-Jamal, Allah benefited me with a Word (I heard from the Prophet). When the Prophet heard the news that the people of the Persia had made the daughter of Khosrau their Queen (ruler), he said, “Never will succeed such a nation as makes a woman their ruler.”