If a person loses consciousness during the month of Ramadan, they must observe as many qaza fasts as the number of days they remained unconscious.
If the person loses consciousness during the day, after making the intention to fast, it is not mandatory to perform qaza for that day’s fast as the fast is considered valid because the intention was made.
However, if they lose consciousness before making the intention to fast, they must perform qaza for that day’s fast as well.
۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔۔
دلائل:
الدر المختار: (فصل فی العوارض المبیحۃ لعدم الصوم، 432/2، ط: سعید)
وقضی ایام اغمائہ ولو کان الا غماء مستغرقاً للشھر لندرۃ امتدادہ سوی یوم حدث الا غماء فیہ فی لیلتہ فلا یقضیہ الا اذا علم انہ لم ینوہ
Allah the Almighty knows best.
Darul ifta Al-Ikhlas, Karachi.