FR 9440 then DJ 6645 at Lisbon
Madrid → Lisbon → Porto
Timetable, Lisbon time
20:25FR 9440 from Madrid at the gate
19:48DJ 6645 to Porto leaves the gate
23 h 23 apart on the timetable, overnight
DJ 6645 leaves 23 h 23 after FR 9440 arrives on the timetable: more than half a day, so not a connection we count.