Photographers Jeff and Erin Youngren were there to capture it.
While visiting California, the President enjoyed a round of golf at Torrey Pines Golf Course in La Jolla, where Stephanie and Brian Tobe were about to tie the knot.
"We saw the two SUVs that were the Secret Service SUVs, so then we knew he was on the course," the groom told CNN affiliate KGTV.
There was a decision to be made.
"We got word that we needed to delay the ceremony or start immediately," Youngren said.