It certainly couldn't be ignored when Shoaib Malik gloved a short ball from Malinga to the keeper.
Suddenly, the chase was no longer a cruise.
Earlier, Pakistan won the toss and made a decision to field first.
India meet Bangladesh in the other semi-final, at Edgbaston on Thursday, with the final at the Oval on Sunday.
"I can't believe it", Ahmed said.
Sri Lanka surprised India by successfully chasing down a target of 321, thanks to a wonderful batting display from the Lankan batsmen. I told him to play his game and not to worry about the scoreboard. "That if we took it to the 40th over we would win", Sarfraz said.
Sri Lanka did not require a second invitation to go for the jugular, giving themselves sight of an unlikely win before it was taken away from them by an inspired captain's innings, securing the win with 5.1 over to spare.
"Unfortunately, our bowlers couldn't win us the game, but really proud of the bowlers, the way they bowled and batted today". The way Junaid [Khan] and Amir bowled was a turning point.
Junaid Khan and Hasan Ali were the most economical bowlers for Pakistan as they bagged three wickets each.
Chasing a modest 237 to win, opener Fakhar Zaman (50) cracked a 36-ball 50 at the top but Pakistan suffered an inexplicable collapse to slip to 162-7.
Man-of-the-match Sarfraz, crucially dropped twice, ended the contest when he uppercut Lasith Malinga for four.
Pakistan (Ahmed 61, Pradeep 3/60) bt.
Amir was 28 not out off 43, and one boundary.
Asked about Malinga's worldwide future, Mathews showed ignorance on fast bowler's future plans. Amir and Junaid combined to puncture the Sri Lankan effort, taking four wickets for six runs in four overs.
Pakistan were granted a favour by the rain gods against the Proteas who had been restricted to a pedestrian 219/8 in 50 overs.
Sri Lanka's tail offered some valuable resistance - not quite enough as it turned out - on a flat pitch showing some movement.
From 92-1, Pakistan collapsed to 137-6.
Earlier, Amir woke up from his slumber with a fiery spell that put Pakistan on top at the end of the first innings. In the end, their bats were needed, too.
ICC Champions Trophy 2017, PAK vs SL 12th Match Live Score Ball By Ball Highlights Result 12th June:- 3 The cricket team has been selected out of the four semi-finalists and this team has been decided in the ICC Champions Trophy 2017. Sri Lanka weathered the fast bowling with caution at first but got themselves to 82 for one in the 15th, with Dickwella (73) going well and looking to anchor the innings.
- Galaxy Note 8 Release Date Predicted To Be Before iPhone 8
- Star Wars Releases New Teaser Image For Battlefront 2 Featuring Naboo Map
- Jelena Ostapenko causes French Open upset against Simona Halep
- Clinging on to her job, Britain's May appoints new ministers
- EU expands sanctions against North Korea
- Trump brands former Federal Bureau of Investigation chief a 'leaker'
- British PM Theresa May reaches 'outline' power deal after election fiasco
- Wonder Woman breaks box office record for female director
- Rabada sparks England slump as Proteas win 3rd ODI
- Hands on with Apple's first Developer Beta of iOS 11