Genesis 40:1

The king's chief cupbearer and his chief baker made the king angry.

Genesis 40:13

In the next three days Pharaoh will release you and restore you to your position. You will put Pharaoh's cup in his hand as you used to do when you were his cupbearer.

Genesis 39:20-23

and threw Joseph in the same prison where the king's prisoners were kept. While Joseph was in prison,

Nehemiah 1:11-2

O Jehovah, let your ear take note of the prayer of your servant. Of the prayers of all your servants, who take delight in worshipping your name: give help, O Jehovah, to your servant this day, and let him have mercy in the eyes of this man. Now I was the king's wine-servant.

Esther 6:1

That night the king was unable to get any sleep. He sent for the books of the records and had some one was read them to him.

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 threw Joseph in the same prison where the king's prisoners were kept. While Joseph was in prison,
Esther 6:1
That night the king was unable to get any sleep. He sent for the books of the records and had some one was read them to him.

The butler

Genesis 40:13
In the next three days Pharaoh will release you and restore you to your position. You will put Pharaoh's cup in his hand as you used to do when you were his cupbearer.
Nehemiah 1:11
O Jehovah, let your ear take note of the prayer of your servant. Of the prayers of all your servants, who take delight in worshipping your name: give help, O Jehovah, to your servant this day, and let him have mercy in the eyes of this man. Now I was the king's wine-servant.
Nehemiah 2:1
In the month of Nisan, in the twentieth year of Artaxerxes the king, when wine was before him. I served the wine to the king. Never before had I been sad when the king was present.