Shaheen Shah Afridi grabbed three wickets while openers Fakhar Zaman and Abdullah Shafique cracked half-centuries as Pakistan stormed to a seven-wicket victory over Bangladesh on Tuesday to stay afloat in the race for a World Cup semi-final place.