Genesis 40:2

And Pharaoh was wroth against two of his officers, against the chief of the butlers, and against the chief of the bakers.

Cross-references

Genesis 40:16 continues the same narrative — the chief baker, encouraged by the cupbearer's favorable interpretation, now presents his own dream to Joseph.

Genesis 41:10 recounts this same event — Pharaoh's anger and imprisonment of the two officials, as told by the cupbearer to Pharaoh.