FR 5316 then FR 4273 at Madrid
Rome → Madrid → Tirana
Timetable, Madrid time
16:05FR 5316 from Rome at the gate
13:40FR 4273 to Tirana leaves the gate
21 h 35 apart on the timetable, overnight
FR 4273 leaves 21 h 35 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.