The unidentified man hurled the shoe towards Musharraf while he was leaving the Sindh High Court this morning after obtaining a 15-day extension of his pre-arrest bail in a series of cases.
The shoe fell a few feet in front of the 69-year-old former military ruler, who was surrounded by security personnel and TV cameramen.
Footage on TV showed the shoe flying through the air and landing in a group of people in front of Musharraf.
It could not immediately be ascertained whether the man was detained. Musharraf, who recently returned to Pakistan after nearly four years of self-exile, went to the court to seek extension of his pre-arrest bail.
A bench extended the bail by 15 days. This was not the first time that a shoe was hurled at Musharraf.
In 2011, a man tried to hurl his shoe at him when he was addressing a gathering in Britain. Angry scenes were witnessed in the court complex as a group of lawyers shouted slogans against Musharraf.
There were heated exchanges between lawyers and Musharraf supporters. Musharraf's security guards rushed him out of the court complex.
Photos: SRK does garba, Nawazuddin takes 'shower' in bathtub
Photos: Soha Ali Khan, Evelyn Sharma, Urvashi Rautela at Mumbai airport
Spotted: Lara Dutta, Mahesh Bhupathi with their daughter in Bandra
Photos: SRK, Tamannaah Bhatia, Varun Dhawan at Mehboob Studio
Birthday special: Sushant Singh Rajput's journey from TV to films