27 And he that searcheth the hearts knoweth what is the mind of the Spirit, because he maketh intercession for the saints according to the will of God. (Romans 8:27 KJV)
William Burkitt’s Commentary
Observe here, 1. The title or attribute given and appropriated to God: He searcheth, or knoweth, the heart. He was the maker of the heart, and is the disposer of the heart, and will judge every man according to his heart; and therefore he must know the heart thoroughly and perfectly, certainly and infallibly; and it is the joy of an upright person, that God knows and searches the heart.
When the world condemns him for insincerity, he rejoices that God knows his integrity; and when he has it in the purpose of his heart to do good but wants power in his hand to accomplish and effect it, this is his consolation, That God accepts as done, what he did desire and resolve to do, 2Ch 6:8.
Observe, 2. The action here attributed to the heart-searching God: he knoweth what is the mind of the Spirit; that is, he knoweth the workings of the Holy Spirit, and of our own spirits also, in the duty of prayer. It is a great comfort to the children of God that the Lord knows what is the mind of our spirits in that matter. God does not only hear his people’s prayers, but he hears their desires: and grants not only the desires of our lips but the desires of our hearts which have not been expressed by our lips.
Observe, 3. Who the persons are whom the Holy Spirit intercedes for in prayer: they are saints, He maketh intercession for the saints; for them exclusively, and none but them; for them inclusively, for all and every one of them: the Spirit sanctifies all those in whom and for whom he intercedes: he is first a spirit of regeneration, before he is a spirit of intercession; he first puts gracious dispositions into us and then stirs up holy desires in us.
Observe, 4. The qualification necessary to render our prayers acceptable to God; they must be according to God; that is, according to the will and mind of God.
And that, 1. In respect of the matter of them: we must pray only for things lawful and warrantable.
2. In regard of the manner of them: we must pray in faith, with fervency, and in the name of Christ.
3. In respect of the end of them, and what we propound to ourselves in them; which is, the glory of God.
Notwithstanding Christ’s mediation, and the Spirit’s intercession, we may ask, and not receive, if we ask amiss; that is, for bad ends, that we may consume it upon our lusts.