The Rock cooked up some beef during the WWE Hall of Fame ceremony, but it wasn't with a fellow wrestler ... instead, he got into it with a WWE fan.
Dwayne Johnson attended Friday night's ceremony in Philadelphia to pay tribute to his late grandmother Lia Maivia -- a wrestling promoter -- who earned a spot in the WWE HOF.
While walking off a platform, a fan appears to yell something at DJ ... who stops on a dime and walks over to the barricade for a convo.