The Messenger of Allah ﷺ said, "A woman must not fast while her husband is present except with his permission."
حدثنا عبد الرحمن عن سفيان عن أبي الزناد عن الأعرج
قال رسول الله ﷺ لا تصوم المرأة وزوجها حاضر إلا بإذنه
Its isnad is sahih. It was mentioned previously at 7338, and see also 9695.