Catechism of the Catholic Church
2734 Filial trust is tested - it proves itself - in tribulation. 22 The principal difficulty concerns the prayer of petition, for oneself or for others in intercession. Some even stop praying because they think their petition is not heard. Here two questions should be asked: Why do we think our petition has not been heard? How is our prayer heard, how is it "efficacious"?
2735 In the first place, we ought to be astonished by this fact: when we praise God or give him thanks for his benefits in general, we are not particularly concerned whether or not our prayer is acceptable to him. On the other hand, we demand to see the results of our petitions. What is the image of God that motivates our prayer: an instrument to be used? or the Father of our Lord Jesus Christ?
2736 Are we convinced that "we do not know how to pray as we ought"? 23 Are we asking God for "what is good for us"? Our Father knows what we need before we ask him, 24 but he awaits our petition because the dignity of his children lies in their freedom. We must pray, then, with his Spirit of freedom, to be able truly to know what he wants. 25
2737 "You ask and do not receive, because you ask wrongly, to spend it on your passions." 26 If we ask with a divided heart, we are "adulterers"; 27 God cannot answer us, for he desires our well-being, our life. "Or do you suppose that it is in vain that the scripture says, 'He yearns jealously over the spirit which he has made to dwell in us?'" 28 That our God is "jealous" for us is the sign of how true his love is. If we enter into the desire of his Spirit, we shall be heard.
Do not be troubled if you do not immediately receive from God what you ask him; for he desires to do something even greater for you, while you cling to him in prayer. 29
God wills that our desire should be exercised in prayer, that we may be able to receive what he is prepared to give. 30
2738 The revelation of prayer in the economy of salvation teaches us that faith rests on God's action in history. Our filial trust is enkindled by his supreme act: the Passion and Resurrection of his Son. Christian prayer is cooperation with his providence, his plan of love for men.
2739 For St. Paul, this trust is bold, founded on the prayer of the Spirit in us and on the faithful love of the Father who has given us his only Son. 31 Transformation of the praying heart is the first response to our petition.
2740 The prayer of Jesus makes Christian prayer an efficacious petition. He is its model, he prays in us and with us. Since the heart of the Son seeks only what pleases the Father, how could the prayer of the children of adoption be centered on the gifts rather than the Giver?
2741 Jesus also prays for us - in our place and on our behalf. All our petitions were gathered up, once for all, in his cry on the Cross and, in his Resurrection, heard by the Father. This is why he never ceases to intercede for us with the Father. 32 If our prayer is resolutely united with that of Jesus, in trust and boldness as children, we obtain all that we ask in his name, even more than any particular thing: the Holy Spirit himself, who contains all gifts.
English Translation of the Cathechism of the Catholic Church for the United States of America © 1997, United States Catholic Conference, Inc.