Tottenham's second-leg fightback was in vain as Benfica progressed to the quarter-finals of the UEFA Europa League with a 2-2 draw in Lisbon.
The hosts looked on course for a comfortable 1-0 win at Estadio da Luz thanks to Ezequiel Garay's thunderous first-half header after winning the first leg 3-1 at White Hart Lane..
Yet, there was a dramatic ending as Nacer Chadli's quickfire double threatened a late Tottenham comeback, but Lima's last-gasp penalty denied the London club victory on the night as Benfica remain on course for a second consecutive Europa League final after losing last year's version 2-1 to Chelsea.
Jorge Jesus' Primeira Liga leaders can now look forward to the quarter-finals after a 5-3 aggregate victory, while Tottenham's gutsy exit may alleviate some of the pressure on head coach Tim Sherwood - who accused Jesus of lacking class following a heated first leg.
The hosts moved into a first-half lead when Garay powered his header past veteran goalkeeper Brad Friedel, and the scores remained the same until half-time.
It looked as though that is how the game would stay, but Chadli levelled the tie with a curling effort on 78 minutes, before adding a second goal shortly after.
Ultimately, however, it would prove too little too late and Lima had the final say from the spot.
Benfica missed a great opportunity to extend their aggregate lead as early as the ninth minute, when Garay nodded the ball into the path of centre-back partner Luisao but he could only head over the crossbar from eight yards out when unmarked.
That miss could have been punished by Roberto Soldado six minutes later, when the Spanish striker controlled the ball at the back post before his half-volley went down into the turf and wide of the target.
It was an open contest and Tottenham spurned another chance to take the lead after 26 minutes, with Chadli heading Gylfi Sigurdsson's corner wide.
Benfica took advantage of the visitors' wasteful finishing in the 34th minute, as Eduardo Salvio ghosted past stand-in captain Aaron Lennon on the right before clipping an inviting cross into the box which Garay finished with a thumping header.
The visitors looked comfortable in possession for the remainder of the opening period, and continued that trend in the second half.
Luisao could have had his third goal of the tie in the 58th minute when he leapt highest to head Miralem Sulejmani's corner wide.
With tie seemingly petering out to a Benfica win, Tottenham turned the game on its head after 78 minutes, as Chadli cut in from the right flank and rifled a right-shot into the far corner.
Just a minute later Chadli scored his second when he span on the spot and hooked his shot in the top right-hand corner.
There was further drama in the closing stages when Suljmani felled substitute Harry Kane in the area, but the referee did not award the penalty.
Benfica were then grateful to goalkeeper Jan Oblak deep into injury time, as first he kept out Sigurdsson's header with a fine point-blank save, before holding Kane's tame header.
The hosts then settled the game as Lima equalised from the spot, after Sandro had fouled the midfielder in the area.
|Coach: Jorge Jesus|
for F. Đuričić 71'
for O. Cardozo 76'
for M. Sulejmani 90+2'
|Milner willing to cover at full-back|
|Gameiro: Griezmann and I will score lots of goals|
|Wenger: I won´t buy for the sake of it|
|Inter 1 Bayern Munich 4: Hat-trick hero Green enjoys happy homecoming|
|Ibrahimovic keen for ´interesting´ Pogba deal|
|Conte unsure over Costa´s Chelsea future|
|Zidane: Morata will remain a Madrid player|
|New York City 5 Colorado Rapids 1: Lampard hits hat-trick in MLS rout|
|Sergi Roberto ´more than a player´ - Luis Enrique|
|Mourinho hints at United future for Mata and Fellaini|
|Real Madrid 3 Chelsea 2: Hazard show too late for Blues|
|Penalty woes for Everton, Gray treble inspires Burnley at Ibrox|
|Atleti to present Gameiro on Sunday|
|Ibrahimovic nets debut goal as United put five past Galatasaray|
|Barcelona 3 Celtic 1: Messi, Suarez in action as Catalans cruise to victory|
|WATCH: Zlatan open his Man Utd account with acrobatic goal|
|Alba: It would be foolish not to respect Ronaldo, but Messi on another level|
|Lahm hails ´sensational guy´ Schweinsteiger following Germany retirement|
|Stones´ professionalism praised amid City reports|
|Roma suffer Rui blow|
|Inter complete Ansaldi move|
|Nainggolan confident of Roma challenge despite Juve investment|
|Rummenigge tells off Ribery over Guardiola dig|
|Meli makes Sporting loan switch|
|No repeat of slow start, vows Allegri|
|Mourinho desperately wanted Embolo at Manchester United, claims Heidel|
|Dembele can do anything - Tuchel|
|Pogba arrival would boost Rooney - Yorke|
|Ben Yedder makes Sevilla move|
|De Jong signs PSV renewal until 2020|
|Kovacic to fight for his place at Real Madrid|
|Sturridge out to improve goals-per-game ratio|
|Mourinho hails ´humble´ Ibrahimovic ahead of United debut|
|Schweinsteiger will not leave Manchester United for Bundesliga return - Rummenigge|
|Benatia on target again in Juve win|
|Atletico set to sign Gameiro|
|Zenga appointed Wolves boss|
|Flattered Verratti not seeking Madrid move|
|Ancelotti: Growing transfer fees nothing special|
|Eriksson: Ibrahimovic and Mourinho combo enough to win Premier League|
|Meunier: I could not reject PSG|
|Klopp: I didn´t want Mkhitaryan|
|Anything could happen before transfer window shuts - Zidane|
|Montoya leaves Barca base, nears Valencia switch|
|Wijnaldum: I´m happy to play anywhere|
|Klopp backs Mignolet after Karius injury|
|Liverpool suffer Karius injury blow|
|Ranieri confident Mahrez will stay as contract talks continue|
|Emery confirms interest in Jese|
|Higuain´s Juventus move not about money - agent|
|Wolves sack head coach Jackett|
|Zidane: Ronaldo unlikely to play Madrid La Liga opener|
|Ibrahimovic: United fans are waiting for me|
|Deulofeu shines for Everton, Cook opens Bournemouth account|
|Higuain out to emulate Del Piero|
|Kante does his talking on the pitch - Conte|
|Mourinho explains Fosu-Mensah snub|
|Klopp: No more unwanted players at Liverpool|
|Inter want more than €60m for Icardi - Thohir|
|Leicester can replace Kante - Ranieri|
|Lazio complete Wallace signing|
|Gueye set to join Everton, confirms Di Matteo|
|Tuchel: Transfer market has gone cash crazy|
|Leicester hand King new four-year deal|
|No deal done for Pogba, says Raiola|
|Rooney: Mourinho impact already huge|
|Lafferty hit with FA betting charge|
|Top-four finish never enough for Arsenal, insists Wenger|
|Partey hoping to make his mark on Atletico squad|
|Ibrahimovic in, Schweinsteiger out as United head for Galatasaray friendly|
|Vietto set for Sevilla after completing medical|
|I rejected Besiktas to fight for Barcelona spot, reveals Mathieu|
|De Laurentiis fumes at Higuain´s ´lack of respect´|
|Promising Janssen boosts Tottenham´s title hopes|
|Besiktas sign Adriano on three-year contract|
|Tottenham 0 Atletico Madrid 1: Godin grabs the winner|
|Gomis completes Marseille loan move|
|Iniesta surprised at Casillas-Del Bosque spat|
|New Juve signings do not guarantee success - Allegri|
|New Juve signings do not guarantee success - Allegri|
|Middlesbrough snap up goalkeeper Guzan|
|Guardiola still loves Ribery despite jibes|
|West Ham worry over Tore injury|
|Serie A could be another one-horse race, says Eriksson|
|Schweinsteiger retires from Germany duty|
|Iniesta welcomes Barca´s midfield competition|
|Drogba: No luck in Arsenal scoring record|
|Wenger seeks ´experienced´ striker to bolster Arsenal attack|
|Eriksson and Shanghai SIPG still fighting|
|MLS All-Stars 1 Arsenal 2: Premier League giants win late as Xhaka makes debut|
|Conte: I want aggression and intensity|
|Wimmer backs physical Janssen for Tottenham success|
|Klopp: I wouldn´t spend £100m on one player|