(a) General rule
In the case of an individual whose principal residence is damaged or destroyed by fire, storm, or other casualty, or who is denied access to his principal residence by governmental authorities because of the occurrence or threat of occurrence of such a casualty, gross income does not include amounts received by such individual under an insurance contract which are paid to compensate or reimburse such individual for living expenses incurred for himself and members of his household resulting from the loss of use or occupancy of such residence.
(b) LimitationSubsection (a) shall apply to amounts received by the taxpayer for living expenses incurred during any period only to the extent the amounts received do not exceed the amount by which—