What are the scriptures on prayer and fasting?

There are many Scriptures on prayer and fasting. Here are several:

Occasions of prayer and fasting in the Bible:
Praying for health: "David pleaded with God for the child. He fasted and went into his house and spent the nights lying on the ground" (2 Samuel 12:16)

Praying for safety: "There, by the Ahava Canal, I [Ezra] proclaimed a fast, so that we might humble ourselves before our God and ask him for a safe journey for us and our children, with all our possessions" (Ezra 8:21).

As an act of repentance: "When they had assembled at Mizpah, they drew water and poured it out before the LORD. On that day they fasted and there they confessed, "We have sinned against the LORD." And Samuel was leader of Israel at Mizpah" (1 Samuel 7:6).

As a sign of mourning: "They mourned and wept and fasted till evening for Saul and his son Jonathan, and for the army of the LORD and the house of Israel, because they had fallen by the sword" (2 Samuel 1:12).

Before making an important decision: "While they were worshiping the Lord and fasting, the Holy Spirit said, 'Set apart for me Barnabas and Saul for the work to which I have called them.' So after they had fasted and prayed, they placed their hands on them and sent them off….Paul and Barnabas appointed elders for them in each church and, with prayer and fasting, committed them to the Lord, in whom they had put their trust " (Acts 13:2-3; 14:23).

Teachings on prayer and fasting in the Bible:
Fasting is a personal event: "When you fast, do not look somber as the hypocrites do, for they disfigure their faces to show men they are fasting. I tell you the truth, they have received their reward in full. But when you fast, put oil on your head and wash your face, so that it will not be obvious to men that you are fasting, but only to your Father, who is unseen; and your Father, who sees what is done in secret, will reward you" (Matthew 6:16-18).

Fasting can be from things besides food: "The husband should fulfill his marital duty to his wife, and likewise the wife to her husband. The wife's body does not belong to her alone but also to her husband. In the same way, the husband's body does not belong to him alone but also to his wife. Do not deprive each other except by mutual consent and for a time, so that you may devote yourselves to prayer. Then come together again so that Satan will not tempt you because of your lack of self-control" (1 Corinthians 7:3-5).

Jesus did not require fasting as a part of Christianity: "They [Pharisees] said to him, 'John's disciples often fast and pray, and so do the disciples of the Pharisees, but yours go on eating and drinking.' Jesus answered, 'Can you make the guests of the bridegroom fast while he is with them? But the time will come when the bridegroom will be taken from them; in those days they will fast.'"

Fasting is a form of worship: "Then was a widow until she was eighty-four. She never left the temple but worshiped night and day, fasting and praying" (Luke 2:37).
Psalm 6:9
The LORD hath heard my supplication; the LORD will receive my prayer.
Psalm 54:2
Hear my prayer, O God; give ear to the words of my mouth.
Psalm 61:1
Hear my cry, O God; attend unto my prayer.
Psalm 66:20
Blessed be God, which hath not turned away my prayer, nor his mercy from me.
Psalm 88:2
Let my prayer come before thee: incline thine ear unto my cry;

Proverbs 15:8
The sacrifice of the wicked is an abomination to the LORD: but the prayer of the upright is his delight.
Proverbs 15:29
The LORD is far from the wicked: but he heareth the prayer of the righteous.

Daniel 9:17
Now therefore, O our God, hear the prayer of thy servant, and his supplications, and cause thy face to shine upon thy sanctuary that is desolate, for the Lord's sake.

Jonah 2:7
When my soul fainted within me I remembered the LORD: and my prayer came in unto thee, into thine holy temple.

Matthew 21:22
And all things, whatsoever ye shall ask in prayer, believing, ye shall receive.

Romans 8:26
Likewise the Spirit also helpeth our infirmities: for we know not what we should pray for as we ought: but the Spirit itself maketh intercession for us with groanings which cannot be uttered.
Romans 10:1
Brethren, my heart's desire and prayer to God for Israel is, that they might be saved.
Romans 12:12
Rejoicing in hope; patient in tribulation; continuing instant in prayer;

James 5:15
And the prayer of faith shall save the sick, and the Lord shall raise him up; and if he have committed sins, they shall be forgiven him.
James 5:16
Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much.

Colossians 1:3
We give thanks to God and the Father of our Lord Jesus Christ, praying always for you,
Colossians 1:9
For this cause we also, since the day we heard it, do not cease to pray for you, and to desire that ye might be filled with the knowledge of his will in all wisdom and spiritual understanding;
1 Thessalonians 5:17
Pray without ceasing.

1 Timothy 2:1
I exhort therefore, that, first of all, supplications, prayers, intercessions, and giving of thanks, be made for all men;

Psalm 122:6
Pray for the peace of Jerusalem: they shall prosper that love thee.
Romans 11:25,26
For I would not, brethren, that ye should be ignorant of this mystery, lest ye should be wise in your own conceits; that blindness in part is happened to Israel, until the fulness of the Gentiles be come in.

And so all Israel shall be saved: as it is written, There shall come out of Sion the Deliverer, and shall turn away ungodliness from Jacob:

Galatians 5:22,23
But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith,

Meekness, temperance: against such there is no law.
Matthew 7:14,17,20
Because strait is the gate, and narrow is the way, which leadeth unto life, and few there be that find it.

Even so every good tree bringeth forth good fruit; but a corrupt tree bringeth forth evil fruit.

Wherefore by their fruits ye shall know them.
Hang In There, Jesus Loves You!
Sanctuary
Galatians 6:9
Let us not be weary in doing good, for we will reap in due season, if we don''t give up.
Ephesians 5:19
Speaking to yourselves in psalms and hymns and spiritual songs, singing and making melody in your heart to the Lord;
1 John 1:9
If we confess our sins, he is faithful and just to forgive us our sins, and to cleanse us from all unrighteousness.
1 Timothy 2:5
For there is one God, and one mediator between God and men, the man Christ Jesus;
John 1:1
In the beginning was the Word, and the Word was with God, and the Word was God.
Isaiah 44:6
Thus saith the LORD the King of Israel, and his redeemer the LORD of hosts; I am the first, and I am the last; and beside me there is no God.
John 8:24
I said therefore unto you, that ye shall die in your sins: for if ye believe not that I am he, ye shall die in your sins.
John 8:58
Jesus said unto them, Verily, verily, I say unto you, Before Abraham was, I am.
Exodus 3:14
14And God said unto Moses, I AM THAT I AM: and he said, Thus shalt thou say unto the children of Israel, I AM hath sent me unto you.
JESUS IS GOD
Acts 4:12
Neither is there salvation in any other: for there is none other name under heaven given among men, whereby we must be saved
JESUS SAVES