Link to Luther's Rogate Sermon -
5. In the fourth place, some say: Yes, I would gladly trust that my prayer would be heard, if I were only worthy and prayed aright. My answer is: If you do not pray until you know and experience that you are fit, then you will never need to pray. As I have said before, our prayers must not be founded nor rest upon ourselves or their own merits, but upon the unshakable truth of the divine promise. Where they are founded upon anything else, they are false, and deceive us, even though the heart break in the midst of its great devotions and we weep drops of blood. The very reason we do pray is because of our unworthiness; and just through the fact that we believe we are unworthy and confidently venture upon God’s faithfulness to his Word do we become worthy to pray and to be heard. Be you as unworthy as you may, only look to it, and with all earnestness accept it as true, that a thousandfold more depends upon this, that you know God’s truth and not change his faithful promise into a lie by your doubting. Your worthiness does not help you, but your unworthiness is no barrier. Disbelief condemns you, and trust makes you worthy and sustains you.
6. Therefore, be on your guard all through life that you may never think yourself worthy or fit to pray or to receive; unless it be that you discover yourself to be a freebold character risking all upon the faithful and sure promises of your gracious God, who thus wishes to reveal to you his mercy and goodness. Just as he, out of pure grace, has promised you, being so unworthy, an unmerited and unasked hearing, so will he also hear you, an unworthy beggar, out of pure grace, to the praise of his truth and promise. This he does in order that you may thank, not your worthiness, but his truth, by which he fulfils his promise, and that you thank his mercy that gave the promise, that the saying in Psalm 25:8-10 may stand: “Good and upright is Jehovah: Therefore will he instruct sinners in the way. The meek will he guide in justice; and the meek will he teach his way. All the paths of Jehovah are loving kindness and truth unto such as keep his covenant and his testimonies.” Loving-kindness or mercy in the promise; faithfulness and truth in the fulfilling or hearing of the promises.
And in another Psalm he says: “Mercy and truth are met together; righteousness and peace have kissed each other.” Psalm 85:10. That is, they come together in every work and gift we receive from God through prayer.