What distinguishes the underlying basis of prayer obligation from its outward cause?

Causes of Legal Obligations: Time, Worship and Purification