When he is judged, he will be found guilty! Then his prayer will be regarded as sinful.
But the Lord does not surrender the godly, or allow them to be condemned in a court of law.