How is absence due to serious illness or genuine danger treated?

Congregational Prayer: Its Status, Priority in Leading, and Conduct of the Imam