TP 1015 then QS 1177 at Lisbon
Madrid → Lisbon → Prague
Timetable, Lisbon time
15:20TP 1015 from Madrid at the gate
15:00QS 1177 to Prague leaves the gate
23 h 40 apart on the timetable, overnight
QS 1177 leaves 23 h 40 after TP 1015 arrives on the timetable: more than half a day, so not a connection we count.