TP 563 then FR 9441 at Lisbon
Hamburg → Lisbon → Madrid
Timetable, Lisbon time
19:45TP 563 from Hamburg at the gate
13:15FR 9441 to Madrid leaves the gate
17 h 30 apart on the timetable, overnight
FR 9441 leaves 17 h 30 after TP 563 arrives on the timetable: more than half a day, so not a connection we count.