Here are some scriptures that apply to God hearing our prayers:
Jer_11:11"Therefore, this is what the LORD says: I am about to bring on them disaster that they cannot escape. They will cry out to Me, but I will not hear them.
Jer_14:12If they fast, I will not hear their cry of despair. If they offer burnt offering and grain offering, I will not accept them. Rather, I will finish them off by sword, famine, and plague."
Dan_9:18Listen, my God, and hear. Open Your eyes and see our desolations and the city called by Your name. For we are not presenting our petitions before You based on our righteous acts, but based on Your abundant compassion.
2 Chronicles 7:14 "If my people which are called by my name, shall humble themselves, and pray, and seek my face, and turn from their wicked ways, then will I hear from heaven, and will forgive their sin, and will heal their land."
Psalm 34:16 The face of the LORD is against them that do evil, to cut off the remembrance of them from the earth.
Psalm 66:18 If I regard iniquity in my heart, the Lord will not hear me:
Psalm 145:18 The LORD is nigh unto all them that call upon him, to all that call upon him in truth.
Psalm 145 :19 He will fulfill the desire of them that fear him: he also will hear their cry, and will save them.
Psalm 145:20 The LORD preserve all them that love him: but all the wicked will he destroy. (Not hear their prayers.)
John 9:31 Now we know that God hear not sinners: but if any man be a worshiper of God, and do his will, him he hear.
1 Pet 3:12 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.