IB 1050 then IB 531 at Madrid
Pamplona → Madrid → Lisbon
Timetable, Madrid time
11:45IB 1050 from Pamplona at the gatealso QR 5382, AT 5390, AV 6118, BA 7281, AA 8826
11:25IB 531 to Lisbon leaves the gatealso CX 1829, VY 5071, AA 8686
23 h 40 apart on the timetable, overnight
IB 531 leaves 23 h 40 after IB 1050 arrives on the timetable: more than half a day, so not a connection we count.