Shami was included in India’s Test squad for the two matches in South Africa, subject to fitness. He did not travel with the team and was subsequently withdrawn from the series, which India drew 1-1 by winning the second Test in Cape Town, after not recovering in time. He was not named in India’s T20I squad for the matches against Afghanistan on January 11, 14 and 17.