ICC Men's Cricket World Cup, Lord's
Pakistan 315-9 (50 overs): Imam 100, Babar 96; Mustafizur 5-75
Bangladesh 221 (44.1 overs): Shakib 64; Shaheen 6-35
Pakistan won by 94 runs
Pakistan hammered Bangladesh by 94 runs at Lord's but failed in their highly unlikely task of pipping New Zealand to the last World Cup semi-final place.
The 1992 winners needed victory by a record margin of at least 308 runs to finish fourth on a better net run-rate.
An Imam ul-Haq century and 96 from Babar Azam saw them post 315-9 before they dismissed Bangladesh for 221.
Shakib Al Hasan top-scored with 64 for the Tigers but seamer Shaheen Afridi (6-35) produced a match-winning spell.
Pakistan could not reach the semi-finals once Bangladesh reached 8-0 in the second over of their chase, confirming New Zealand in the last four with Australia, India and England.
England will finish third and New Zealand fourth, with the group winners to be decided on Saturday.
Leaders Australia will top the group if they beat South Africa at Old Trafford (13:30 BST) – but if the defending champions lose, India can overtake them by winning against Sri Lanka at Headingley (10:30).
World Cup group table
1 Australia (Q)
2 India (Q)
3 England (Q)
4 New Zealand (Q)