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 (ed. Shambhala Publications, 2001) - ISBN: 9780834825253