He last featured for the Afghanistan T20I side in March, against Zimbabwe in Abu Dhabi.
The 33-year-old finished his career having played 114 ODI matches, scoring 2,424 runs with a century and 12 half-centuries. He also scored 440 runs in six Test matches.
Afghanistan gave a befitting farewell to the former captain as they notched up a convincing 62-run over Namibia to keep their semifinal hopes alive in the tournament.
Playing the last match of his international career, former skipper Asghar Afghan made a 23-ball 31, while Mohammad Nabi (32) was the other contributor for Afghanistan.
In his last game for the country, Asghar Afghan provided good support to captain Mohammad Nabi (32 not out off 17 balls) and their quick-fire 35-run stand took the team's total past 150-run mark.
On Friday, Asif Ali smoked four sixes in an over to help Pakistan make it a hat-trick of Super 12 victories as they handed Afghanistan their first defeat of the tournament in Group 2.
Asghar Afghan is playing his last match for Afghanistan as he has announced his retirement from all forms of cricket on Saturday.
The Afghanistan Cricket Board announced the 33-year-old former captain and right-handed batsman's retirement on its Twitter handle on Saturday.
Former Afghanistan captain Asghar Afghan has slammed Australia's Test skipper Tim Paine for his comments.
Gulbadin Naib will lead the side which also features Mohammad Shahzad and spinner Mujeeb ur Rahman.