FR 9441 then FR 5482 at Madrid
Lisbon → Madrid → Porto
Timetable, Madrid time
00:05FR 9441 from Lisbon at the gate
23:25FR 5482 to Porto leaves the gate
23 h 20 apart on the timetable
FR 5482 leaves 23 h 20 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.