EC 7639 then AY 5565 at Madrid
Lisbon → Madrid → Pamplona
Timetable, Madrid time
09:25EC 7639 from Lisbon at the gate
06:45AY 5565 to Pamplona leaves the gatealso VY 5613, AV 6062, QR 8059
21 h 20 apart on the timetable, overnight
AY 5565 leaves 21 h 20 after EC 7639 arrives on the timetable: more than half a day, so not a connection we count.