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'
|Lloris tempers talk of Ireland revenge mission|
|Deschamps refuses to make France ´98 comparisons|
|O´Neill confident Ireland can shock France|
|Chiellini will give Morata a few kicks - Barzagli|
|England v Iceland: Rooney targets early goal|
|Italy´s Candreva ruled out of Spain match|
|Butland ready for pre-season after scan gives goalkeeper all-clear|
|Origi not underestimating Hungary|
|Plans drafted for Old Firm games to be played abroad|
|Boost for Germany as Boateng trains ahead of last 16|
|I never saw Ronaldo look in the mirror! - Ancelotti|
|Fabregas fears Brexit will damage Premier League|
|Roy not keen on Ireland allocation|
|Dyke backs Hodgson for new contract|
|Spain not as aggressive as 2012, claims Ancelotti|
|Ronaldo and Messi need each other – Ancelotti|
|Juve on the same level as Madrid and Barcelona - Dybala|
|Fabregas: Conte´s Italy will be tough|
|Argentina v Chile: New year, same Copa finalists|
|Ronaldo ´cannot be the whole of Portugal´ - Shilton|
|Messi: Neymar is an amazing person|
|Pekerman keen to finish Copa on high note|
|Rakitic: Ronaldo won´t sleep easily|
|Messi: Now is not a time to give nothing|
|Courtois expects to leave Chelsea in future|
|Less rest no problem for Portugal - Joao Mario|
|Euro 2016 Diary: Benteke rap and Nelly the elephant|
|Santos: Group-stage performances behind Portugal|
|Cacic: We cannot let Ronaldo show his strength|
|O´Neill hopes to blow Bale off course|
|Coleman impressed with Ramsey´s discipline|
|O´Neill fires derby passions ahead of Wales showdown|
|Coleman: Take emotion out of Northern Ireland clash|
|LFP sanctions six Nice players for flouting gambling rules|
|Hungary v Belgium: Lukaku targets last-four spot|
|Dyke hopes Brexit can help England youngsters|
|No favourites against Italy, says Koke|
|Krychowiak not thinking about PSG as Poland stand by Lewandowski|
|World Cup qualifying: Algeria, Cameroon and Nigeria drawn in same group|
|Brexit may damage Premier League´s pursuit of young European players|
|Germany v Slovakia: Weiss confident of repeat Augsburg success|
|France v Republic of Ireland: Long not on Henry revenge mission|
|Chelsea midfielder Baker extends Vitesse loan|
|Chiellini concerned over Brexit ´domino effect´|
|Staying in Euro 2016 gets Coleman´s vote|
|Nainggolan has a room with a balcony so he can smoke - Wilmots|
|Petkovic attempts Poland mind games|
|Wilmots would rather play Spain than Hungary|
|Morata deserves more than being a Madrid bargaining chip - Chiellini|
|AZ want record fee for Janssen|
|What does Brexit mean for European football?|
|I´m not tired, I feel sharp - Kane hits back at critics|
|Delighted Kiyotake hopes to prove his value|
|Premier League confident Brexit will not diminish its success|
|Neuer wary of Hamsik´s long-range shots|
|Genesio: Lyon do not have to sell|
|Morata thanks Juventus fans after Real Madrid return|
|Lapadula undergoes AC Milan medical|
|Santos: Not everything revolves around Ronaldo|
|Icelandic chihuahua prepares to chase the England rhino|
|Jakupovic signs new Hull City contract|
|Lagerback: Brexit will not affect England team|
|ES Setif disqualified from CAF Champions League|
|Gerland sees Kimmich as Lahm´s long-term successor|
|Navas ´recovering nicely´ from heel injury|
|Messi excited by future Barcelona challenges|
|Conte´s Italy like Atletico and Barcelona, says Xavi|
|Zidane the man to take Madrid forward, says Baptista|
|United States v Colombia: Hosts out to end Copa America on a high|
|Aubameyang: It´s my dream to play in Spain|
|Wenger not interested in France job|
|Ronaldo: Euro 2016 surprises end now for Portugal|
|Coke hopeful Sampaoli can exceed Emery at Sevilla|
|Maradona: Portugal too dependent on Ronaldo|
|´What a disaster´ - Messi takes aim at AFA|
|Guidetti: Nolito will thrive at City|
|Wanyama thanks Southampton fans following Spurs switch|
|Kranjcar: Rangers can push Celtic all the way|
|Euro 2016 Diary: Icelandic heaven and Rooney not feeling the love|
|Wenger respects Vardy, talks up Kante|
|Rooney wants to end ´disappointing´ tournament record for England|
|Di Maria in serious doubt for Copa America final|
|´We gave it all´, Alaba tells Austria fans|
|Euro 2016 Social Round-Up: Last 16 sides prepare for the knockout rounds|
|Osorio to stay on as Mexico manager despite Copa humbling|
|Tottenham complete Wanyama signing|
|Claridge: England are misusing Jamie Vardy|
|Marseille complete double swoop|
|Wales v Northern Ireland: Evans eager to prolong Irish dream|
|Underdog heroics justify UEFA´s bulkier Euros|
|Atletico Madrid president confirms Vrsaljko move|
|Rejecting Arsenal a ´mature´ move for Leicester star Vardy - Claridge|
|Switzerland v Poland: Seferovic targets final, Pazdan staying humble|
|Juanfran: Spain can use Atletico´s philosophy|
|´It’s always nice to finish above the English´ - Bale sticks the boot in again|
|Euro 2016´s top five moments so far: Payet cries a river as newcomers steal the show|
|Galatasaray fail in CAS appeal|
|´Nice will forever be in my heart´ - How France legend Just Fontaine kickstarted his career on the C|
|Team of the Euro 2016 group stage: Payet, Perisic join blistering Bale|
|The flop XI of the Euro 2016 group stage: Kane and Ibrahimovic join limp Lewandowski|
|O´Neill delighted with Northern Ireland draw placing|
|Germany optimistic on Boateng fitness|
|Croatia v Portugal: Cacic determined to spring another shock|
|Icelandic strongman Magnusson mocks Portugal´s Ronaldo|
|Noble expects West Ham stay for Payet|
|Petrov joins Villa for pre-season camp|
|´We always score our penalties´ - Hallgrimsson sends warning to England|
|Kalinic expects Croatia to progress|
|Rooney respect for Hodgson´s Slovakia gamble|
|Vardy stays at Leicester: Champions buoyed, but what next for Arsenal?|
|Lafferty backs Northern Ireland to go all the way|
|Elmohamady extends Hull stay|
|Hodgson demands ruthlessness from England to open up Iceland|
|´He was nearly dead six years ago´ - Coleman full of admiration for Duffy|
|Rangers seal Kranjcar deal|
|Iniesta wary of ´powerful´ Italy|
|I wanted to rest Gera - Storck|
|Gera living late career dream after waking from injury nightmare|
|Vardy to stay at Leicester after agreeing new contract|
|Morata still wanted by ´top Premier League clubs´|
|Sigurdsson warns Iceland of danger posed by golf buddy Kane|
|Pekerman furious with referee after Colombia´s Copa exit|
|Euro 2016 is wide open, says Cahill|
|Pizzi hails Chile´s ´winners´ mentality|
|Bjarnason hails team spirit among Iceland friends|
|Coentrao defends Ronaldo: ´Speak now, parrots!´|
|MLS Review: Alberg hat-trick inspires Union, RSL leave it late|
|Conte: I´m not from the moon, I know Spain are good|
|Santos wants more from Ronaldo|
|Colombia 0 Chile 2: Early goals see defending champions into Copa final|
|Martino receives Di Maria boost ahead of Copa final|
|De Gea thanks his critics for motivating him|
|Barca not contemplating Neymar exit|
|Pain before pleasure for Sigurdsson and Iceland´s heroes|
|Lavezzi remains upbeat despite Copa-ending injury|
|Smell of injustice: Swedish player cops farting red|
|Ibrahimovic ´very proud´ of Sweden career|
|Euro 2016 Diary: Germany grab the sunloungers, Benzema on the beach and life through a lens|
|´If you don´t know nothing, keep quiet´ - Deeney responds to speculation|
|Wilmots: Belgium must be more clinical|
|Vote remain and we´ll forgive you for 1966! - German newspaper wade into Brexit debate|
|Hamren: Sweden will never find another Ibrahimovic|
|Conte: Ireland got more than they deserved|
|O´Neill hails Ireland heroes|
|Hazard: Ibrahimovic not done yet|