Matthew 1:20

And while he was having this in mind, behold! an angel of the Lord appeared to him in a dream, saying.

Matthew 2:13

When they were gone an angel of the Lord appeared to Joseph in a dream, saying; "Rise! Take the young child and his mother and flee into Egypt, and there remain until I bring you word; for Herod intends to make a search for the child, in order to put him to death."

Matthew 2:19

But after Herod's death an angel of the Lord appeared in a dream to Joseph in Egypt,

Matthew 7:7-8

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

Mark 10:36

"What is it you want me to do for you?" said he.

Mark 10:38-51

"You know not what you are asking," said Jesus. "Can you drink the cup that I drink, or be baptized with the baptism that I am baptized with?"

Mark 11:24

That is why I am telling you that whatever you ask for in prayer, believe that you have received it, and it shall be yours.

John 14:13-14

"And whatever' you ask in my name I will do; that the Father may be glorified in the Son.

John 15:16

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

James 1:5-6

If any one of you is lacking in wisdom, let him ask it from the God who gives to all men freely and without upbraiding; and it will be given to him.

1 John 5:14-15

Now the confidence which we have in him is this, that he listens to us whenever we ask anything that is in accordance with his will.

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
And while he was having this in mind, behold! an angel of the Lord appeared to him in a dream, saying.
Matthew 2:13
When they were gone an angel of the Lord appeared to Joseph in a dream, saying; "Rise! Take the young child and his mother and flee into Egypt, and there remain until I bring you word; for Herod intends to make a search for the child, in order to put him to death."

Ask what

Matthew 7:7
"Ask, and it will be given you; seek, and you will find; knock, and the door will be opened to you.
Mark 10:36
"What is it you want me to do for you?" said he.
Mark 11:24
That is why I am telling you that whatever you ask for in prayer, believe that you have received it, and it shall be yours.
John 14:13
"And whatever' you ask in my name I will do; that the Father may be glorified in the Son.
John 15:16
"You did not choose me, but I chose you and appointed you, that you should go and bear fruit, and that your fruit should remain; so that whatever you ask the Father in my name, he may give it to you.
James 1:5
If any one of you is lacking in wisdom, let him ask it from the God who gives to all men freely and without upbraiding; and it will be given to him.
1 John 5:14
Now the confidence which we have in him is this, that he listens to us whenever we ask anything that is in accordance with his will.