From Sahih Bukhari (Hadith 2658):
Narrated Abu Sa`id Al-Khudri:The Prophet (ﷺ) said, "Isn't the witness of a woman equal to half of that of a man?" The women said, "Yes." He said, "This is because of the deficiency of a woman's mind
Reference: Bukhari 2658