He that turneth away his ear from hearing the law, Even his prayer is an abomination (Prov. 28:9 ASV).
To turn away from hearing the Lord means, in practical terms, you’re not interested in what He says. Think about that for a moment. It is so easy to pray, but how many are aware the Lord hears not? Look at the Lord’s exhortation in these words; are you a man or woman of prayer, yet, if you have given no attention to what the Lord says AND have turned your heart back to Him in obedience, then you can be sure He does not hear you.