A senior South African police official has been hospitalised after gunmen opened fire on his vehicle in Johannesburg, days before he was expected to appear before a high-profile inquiry into alleged corruption and criminal networks within the country's police service.

Major General Feroz Khan, the suspended deputy head of crime intelligence, was wounded in the attack on Sunday evening while travelling home. Reports in local media said he underwent emergency surgery.

Authorities have launched an investigation into the incident. Police spokesperson Brigadier Athlenda Mathe urged caution over suggestions that the shooting was connected to Khan's scheduled testimony before the Madlanga Commission.

The commission was established following explosive claims by Lieutenant General Nhlanhla Mkhwanazi that organised crime had infiltrated parts of the state and law enforcement agencies.

Khan was among those called to give evidence after his name surfaced during proceedings. He was expected to face questions over a failed 2021 drug operation in Johannesburg, as well as allegations reported by local media concerning his relationship with opposition leader Julius Malema and political figure Brown Mogotsi.