When to Pray?