Bangladesh lost the match to South Africa by four runs denied to the team due to a faulty decision by the on-field umpire.