"One of my favorite people on this Whole Damn Rock!! @therealalfonsoribeiro," Smith captioned the image on Tuesda. It shows the actor smiling and pointing to Ribeiro. Smith and Ribeiro are seen outside wearing hats.
Ribeiro also posted the same image on Instagram, writing, "Had a great time this morning playing with my boy @willsmith."
Smith and Ribeiro starred as cousins Will and Carlton Banks, respectively, on The Fresh Prince of Bel-Air, which aired for six seasons from 1990 to 1996.
Smith and Ribeiro last reunited with the cast of the sitcom including Tatyana Ali, Karyn Parsons, Daphne Maxwell Reid and Joseph Marcell in March 2017.