Translation:Shulchan Aruch/Orach Chaim/278

278: That One could Extinguish the Light for the Sake of the Ill.

1 It is permitted to extinguish the candle to enable the sick person, who is at risk, to fall asleep.