EC 7624 then TP 564 at Lisbon
Praia → Lisbon → Hamburg
Timetable, Lisbon time
22:55EC 7624 from Praia at the gate
18:05TP 564 to Hamburg leaves the gate
19 h 10 apart on the timetable, overnight
TP 564 leaves 19 h 10 after EC 7624 arrives on the timetable: more than half a day, so not a connection we count.