The cute moment was captured in a video on Instagram by the boy's uncle, Gary Williams Jr., and showed Mr Obama say to the youngster, "Hey Prince, what's going on man?" before breaking into song and handing him some sweets.
Obama sang Purple Rain as the mini Prince went to collect his sweets
When @barackobama sees your nephew dressed as Prince & starts singing Purple Rain! Yep, Best Halloween Ever! • #MWxDC #acreativedc #RIPPrince | 📽: my wife @dinthelife 😘
A video posted by MASTERWILLIAMS™ (@masterwilliams) on
Describing the moment as the "best Halloween ever", Gary Williams Jr. uploaded the video which has been viewed over 10,000 times.
The sweet boy turned heads at the White House Halloween party
The doting uncle also shared some sweet snaps of his nephew, and the little boy's cousin, in full costume.
The party was held for students from schools in the local area, along with children from military families, with over 4,000 attending the event.
Back in July, Obama serenaded his daughter, Malia on her 18th birthday.
This wasn't the first time Obama has demonstrated his singing skills. Earlier this year, the proud father sang Happy Birthday to his eldest daughter Malia, who was celebrating her 18th birthday at his Fourth of July party. Ahh!