Genesis 41:13

And it came to pass, as he interpreted to us, so it was; me he restored unto mine office, and him he hanged.

Cross-reference

Genesis 40:12 is Joseph's interpretation of the cupbearer's dream which the cupbearer here confirms came true exactly.

Genesis 40:20-22 records the fulfillment — restoration of cupbearer and hanging of baker — which the cupbearer now recounts.

Genesis 40:19 is Joseph's prophecy that the baker would be hanged — exactly what the cupbearer says happened.