4Z 950 then SA 56 at Johannesburg
Cape Town → Johannesburg → Accra
Timetable, Johannesburg time
12:104Z 950 from Cape Town at the gate
10:55SA 56 to Accra leaves the gate
22 h 45 apart on the timetable, overnight
SA 56 leaves 22 h 45 after 4Z 950 arrives on the timetable: more than half a day, so not a connection we count.