The Midwest Medical Examiners Office confirmed to ET that Prince's autopsy was completed on Friday in Carver County, Minnesota.
The exam, which began at 9 a.m. was administered by Dr. A. Quinn Strobel, and was finished by 1 p.m. Prince's body will now be released to his family.
WATCH: Rainbow Appears Over Prince’s Estate Hours After His Death
The 57-year-old musician, whose full name was Prince Rogers Nelson, has one sister, Tyka Nelson, who reportedly greeted Prince fans outside of his Paisley Park recording studio in Chanhassen, Minnesota, on Thursday, following his death. Prince also has several half brothers and sisters. Both his parents are dead.
Results of the autopsy will take several days to come back, but a source tells ET that Prince did have some health issues. The musician got the flu, which then turned into walking pneumonia, and, in addition, he was also dealing with a hip injury.
The source also tells ET that Prince had an issue with the pain killer, Percocet, which dated back to when he had hip replacement surgery in 2010.
WATCH: L.A. Reid Says Prince Thought Elevators 'Were the Devil', Finds Friend's Death 'Haunting'
On Thursday, Carver County Sheriff Jim Olson told ET that the late legendary musician was found unresponsive in an elevator when officials responded to a call at Prince's Paisley Park Studios in Chanhassen, Minnesota, at 9:43 a.m.
"First responders attempted to provide lifesaving CPR, but were unable to revive the victim," Olson said in a statement. "He was pronounced deceased at 10:07 a.m."
EXCLUSIVE: Inside Prince's Final Days