FR 4274 then TP 1017 at Madrid
Tirana → Madrid → Lisbon
Timetable, Madrid time
18:45FR 4274 from Tirana at the gate
18:00TP 1017 to Lisbon leaves the gate
23 h 15 apart on the timetable, overnight
TP 1017 leaves 23 h 15 after FR 4274 arrives on the timetable: more than half a day, so not a connection we count.