Genesis 40:1

And it will be after these words, The cup-bearer of the king of Egypt, and the baker, sinned to their lord the king of Egypt

Genesis 40:13

Yet in three days Pharaoh will lift up thy head, and restore thee to thy place, and thou shalt give Pharaoh's cup into his hand, according to thy first judgment, when thou wert his cup-bearer.

Genesis 39:20-23

And Joseph's lord will take him and put him into the house of the fortress, the place where the king's prisoners were bound; and he shall be there in the house of the fortress.

Nehemiah 1:11-2

Now, O Lord, now will thine ear be attending to the prayer of thy servant, and to the prayer of thy servants, desiring to fear thy name? and prosper now to thy servant this day: and wilt thou give him for compassion before this man? And I was giving drink to the king.

Esther 6:1

In that night the king's sleep fled away, and he will say to bring in the book of memorials of the words of the days; and they will be read before the king.

Treasury of Scripture Knowledge

Summary

And it came to pass after these things, that the butler of the king of Egypt and his baker had offended their lord the king of Egypt.

Bible References

It came

Genesis 39:20
And Joseph's lord will take him and put him into the house of the fortress, the place where the king's prisoners were bound; and he shall be there in the house of the fortress.
Esther 6:1
In that night the king's sleep fled away, and he will say to bring in the book of memorials of the words of the days; and they will be read before the king.

The butler

Genesis 40:13
Yet in three days Pharaoh will lift up thy head, and restore thee to thy place, and thou shalt give Pharaoh's cup into his hand, according to thy first judgment, when thou wert his cup-bearer.
Nehemiah 1:11
Now, O Lord, now will thine ear be attending to the prayer of thy servant, and to the prayer of thy servants, desiring to fear thy name? and prosper now to thy servant this day: and wilt thou give him for compassion before this man? And I was giving drink to the king.
Nehemiah 2:1
And it will be in the month Nisan, in the twentieth year to Arthasatha the king, wine before him: and I shall lift up the wine and give to the king. And I was not sad before him.