Facebook CEO Mark Zuckerberg has visited the Massachusetts high school where his wife attended.

The 33-year-old billionaire and his wife, Priscilla Chan, stopped by Quincy High School on Tuesday and made a donation to the school. The amount has not been disclosed.

Ms. Chan graduated from Quincy High as valedictorian in 2003.

Mr. Zuckerberg says in a Facebook post the couple had stopped by the school on their way to Cambridge, Massachusetts, where Mr. Zuckerberg is set to deliver the commencement speech at Harvard University on Thursday.

Mr. Zuckerberg livestreamed on Facebook his visit to his old dorm room at Harvard’s Kirkland House Tuesday afternoon.

Mr. Zuckerberg was spotted in Newport, Rhode Island, on Sunday. He and Ms. Chan visited a middle school in Providence on Monday.