The Prophet (ﷺ) said, "A woman should not fast (optional fasts) except with her husband's permission if he is at home (staying with her).
Sahih al-Bukhari Book 67, Hadith 126