The comedian, 40, said he “killed it” after publishing a skit of himself doing trick or treat at The Rock’s home on Instagram.
The sketch sees several children knocking on The Rock’s door before Hart appears wearing a black polo neck jumper, silver chain, blue jeans, bum bag and black wig in a nod to the famous photograph.
Johnson says: “Where are you dressed like that?” and Hart responds: “Because it’s my costume. All you’ve got to do is go to the costume store and say, ‘Make me look stupid’.”
The pair then argue over The Rock’s stance in the photograph before Hart says he wants some sweets.
Johnson then says: “Here’s what you get – it’s bite sized. Tiny, mini, like you. Put this in your fanny pack.”
Hart then insults his decorations and shouts out that The Rock is handing out pennies and raisins rather than treats.
The video was released to promote Jumanji: The Next Level, the third instalment in the franchise which is due to be released in December.
Johnson plays archaeologist Dr. Smolder Bravestone while Hart plays Franklin “Mouse” Finbar, a zoologist.
The video comes after Hart broke his silence weeks after a car crash that left him severely injured.
Hart was a passenger in a vintage muscle car when the driver lost control, sped down an embankment and slammed into a tree near Malibu, California.
In the video, he said: “After my accident I see things differently, I see life from a whole new perspective.
“My appreciation for life is through the roof. I’m thankful for my family, my friends.”