Shiva Purana
यथादेशं यथाकालं यथादेहं यथाधनम् । यथायोग्यं प्रकुर्वीत क्रियादीञ्छिवभक्तिमान् १५३ ।
The true devotee of Śiva shall observe the sacred rites etc. in accordance with the place, time, physical ability, possession of wealth as befitting his state.
english translation
yathAdezaM yathAkAlaM yathAdehaM yathAdhanam । yathAyogyaM prakurvIta kriyAdIJchivabhaktimAn 153 ।
hk transliteration by Sanscript