The Sufis have a saying: "Praise Allah, and tie your camel to a post." This brings together both parts of practice: pray, yes, but also make sure that you do what is necessary in the world.
"Seeking the Heart of Wisdom: The Path of Insight Meditation". Book by Jack Kornfield, Joseph Goldstein, 1987.
