Police spokesperson Colonel Thembeka Mbele said the 65-year-old man was walking with his wife towards the court when an unknown person opened fire.
Netcare 911 spokesperson Shawn Herbst said he was critically wounded and needed advanced life support to stabilise him at the scene in George Sewpersadh Street.
A Netcare helicopter ambulance was activated via Reaction Unit SA and the man was choppered out for further urgent medical attention at hospital.
The shooter drove away and the motive is not known yet.
The man is understood to be a prominent Muslim scholar.
His wife was not immediately available to comment.