Bangladesh lost their last three wickets for just 24 runs inside half an hour
Seamers Rabada, Mulder and left-arm spinner Keshav Maharaj took three wickets apiece for South Africa