TP 563 then QS 1177 at Lisbon
Hamburg → Lisbon → Prague
Timetable, Lisbon time
19:45TP 563 from Hamburg at the gate
14:50QS 1177 to Prague leaves the gate
19 h 05 apart on the timetable, overnight
QS 1177 leaves 19 h 05 after TP 563 arrives on the timetable: more than half a day, so not a connection we count.