Translation:Shulchan Aruch/Orach Chaim/278

1. It is permitted to extinguish a candle to enable a sick person at risk to fall asleep.