FR 5685 then FR 4273 at Madrid
Edinburgh → Madrid → Tirana
Timetable, Madrid time
23:40FR 5685 from Edinburgh at the gate
13:40FR 4273 to Tirana leaves the gate
14 h apart on the timetable, overnight
FR 4273 leaves 14 h after FR 5685 arrives on the timetable: more than half a day, so not a connection we count.