1 Peter 3:12

For the Lord's eyes see what the righteous person does and He hears their [earnest] prayers, but the Lord looks with disapproval on the person who does wrong."

John 9:31

We know that God does not listen to sinners [i.e., when they pray]; but God does listen to the person who reveres Him and does what He wants.

James 5:16

So, confess your sins to one another, and pray for one another to be healed [from sin sickness]. The special request of a righteous person is empowered with [great] effectiveness.

Treasury of Scripture Knowledge

Summary

For the eyes of the Lord are over the righteous, and his ears are open unto their prayers: but the face of the Lord is against them that do evil.

Bible References

His ears

John 9:31
We know that God does not listen to sinners [i.e., when they pray]; but God does listen to the person who reveres Him and does what He wants.
James 5:16
So, confess your sins to one another, and pray for one another to be healed [from sin sickness]. The special request of a righteous person is empowered with [great] effectiveness.