Temple of the Gods

7th-Level Conjuration
Casting Time: 1 hour
Range: 120 feet
Components: VSM($) (a holy symbol worth at least 5 gp)
Duration: 24 hours

As in Xanathar's Guide to Everything with the following added:
If your party rests in a Temple of the Gods during Survival, when your party rolls a Complication, ignore results of 11 or higher, and gain one Survival Success instead as the blessings of the gods intervene on your behalf. If you roll 20, roll on the Survival Windfalls table. You cannot fail Shelter tests while resting in friendly permanent Temples of the Gods.
At Higher Levels. When you cast this spell using a spell slot of 8th level or higher, the time it takes for the spell to become permanent is reduced to 180 days. When you cast this spell using a spell slot of 9th level or higher, the time it takes for the spell to become permanent is reduced to 30 days.

Source: XGE 167

Changelog