Matthew 1:20

But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.

Matthew 2:13

And when they had gone, lo! an angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the child and his mother, and flee into Egypt, and remain there until I speak to thee; for Herod will seek the child, to destroy him.

Matthew 2:19

But when Herod was dead, lo! an angel of the Lord appeareth in a dream to Joseph in Egypt,

Matthew 7:7-8

Ask, and it will be given you; seek, and ye will find; knock, and the door will be opened to you.

Mark 10:36

And he said to them, What would ye that I should do for you?

Mark 10:38-51

But Jesus said to them, Ye know not what ye ask. Can ye drink the cup that I drink, or be baptized with the baptism that I am baptized with?

Mark 11:24

Therefore I say to you, All things whatever ye pray for and ask, believe that ye have obtained, and ye shall have them.

John 14:13-14

and whatever ye shall ask in my name, that will I do; that the Father may be glorified in the Son.

John 15:16

Ye did not choose me, but I chose you, and appointed you, that ye should go and bear fruit, and that your fruit should remain; that whatever ye ask of the Father in my name, he may give it you.

James 1:5-6

But if any one of you is wanting in wisdom, let him ask of God, who giveth to all liberally, and upbraideth not; and it will be given him.

1 John 5:14-15

And this is the confidence which we have toward him, that, if we ask anything according to his will, he heareth us;

Treasury of Scripture Knowledge

Summary

In Gibeon the LORD appeared to Solomon in a dream by night: and God said, Ask what I shall give thee.

Bible References

In a dream

Matthew 1:20
But while he thought on these things, lo! an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, fear not to take to thee Mary thy wife; for that which is conceived in her is by the Holy Spirit.
Matthew 2:13
And when they had gone, lo! an angel of the Lord appeareth to Joseph in a dream, saying, Arise, and take the child and his mother, and flee into Egypt, and remain there until I speak to thee; for Herod will seek the child, to destroy him.

Ask what

Matthew 7:7
Ask, and it will be given you; seek, and ye will find; knock, and the door will be opened to you.
Mark 10:36
And he said to them, What would ye that I should do for you?
Mark 11:24
Therefore I say to you, All things whatever ye pray for and ask, believe that ye have obtained, and ye shall have them.
John 14:13
and whatever ye shall ask in my name, that will I do; that the Father may be glorified in the Son.
John 15:16
Ye did not choose me, but I chose you, and appointed you, that ye should go and bear fruit, and that your fruit should remain; that whatever ye ask of the Father in my name, he may give it you.
James 1:5
But if any one of you is wanting in wisdom, let him ask of God, who giveth to all liberally, and upbraideth not; and it will be given him.
1 John 5:14
And this is the confidence which we have toward him, that, if we ask anything according to his will, he heareth us;