Does prayer have a place in the practice of yoga?
Yes. Prayer is a means of connecting your heart with the Divine, thereby allowing grace to flow and touch your heart. The heart is the seat of absolute transcendental truth. A prayer that truly comes from the heart transcends all boundaries and has the power to destroy all bondage.
The power of prayer is so immense that it has an unfailing effect on the mind and heart. Prayer changes intellectual dialogue into spiritual contemplation, transforming our normal emotions into devotion. Because it quiets our mental chatter and calms emotional turmoil, prayer creates the environment for the inward journey. One of the biggest problems that meditators face is preparing the proper mood. It is true that meditation makes the mind one-pointed and tranquil, but when we are already in a bad mood it is difficult to sit down and meditate.
For more: https://yogainternational.com/article/view/qa-does-prayer-have-a-place-in-the-practice-of-yoga