What is the criterion for ṣalāh being literal for ritual prayer in a religious discourse?

Definitions of Literal and Figurative Use and the Technical Divisions of Metaphor