Johannesburg - Two men were rescued from the Jukskei river in Centurion on Monday, Tshwane emergency services said.
Spokesperson Johan Pieterse said one person was found sitting in a tree and the other was found underneath the Gautrain bridge.
Details of how the men got swept into the river were unclear, Pieterse said. They were taken to a nearby hospital.
Two men and a woman were also rescued from a stream in Naledi, Soweto, on Monday, Johannesburg emergency services said.
The three were swept away by a strong current as they were trying to cross the river, spokesperson Robert Mulaudzi said.
They were rescued by residents who were passing by the river.
Several roads in Johannesburg were flooded on Monday as a result of heavy rainfall, emergency services said.
Malaudzi said that emergency services would be on high alert to ensure that the flooded areas would be evacuated as soon as possible.
Johannseburg metro police spokesperson Chief Superintendent Wayne Minnaar said that between 06:00 and 11:00 there had been 52 accidents on affected roads, eight of which resulted in injuries.
The heavy rain was also blamed for a light aircraft crash at Lanseria Airport in Johannesburg, in which three people were killed.