Afghanistan star all-rounder Rashid Khan revealed that he battled a hamstring injury during the second ODI against South Africa to script history with an emphatic 177-run win at Sharjah Cricket Stadium.