After scans revealed a left adductor strain, Maharaj will return home to Durban for rehabilitation and will be reassessed ahead of the first Test against Pakistan.
Bjorn Fortuin has been named as his replacement for the final two ODIs.
Photo: Grant Pitcher/Gallo Images