AV 2505 then FR 5482 at Madrid
Lisbon → Madrid → Porto
Timetable, Madrid time
20:20AV 2505 from Lisbon at the gatealso LO 4710, EK 4988, AD 7284, S4 8032
09:05FR 5482 to Porto leaves the gate
12 h 45 apart on the timetable, overnight
FR 5482 leaves 12 h 45 after AV 2505 arrives on the timetable: more than half a day, so not a connection we count.