AA 8731 then W4 5152 at Madrid
Rome → Madrid → Tirana
Timetable, Madrid time
21:35AA 8731 from Rome at the gate
16:50W4 5152 to Tirana leaves the gate
19 h 15 apart on the timetable, overnight
W4 5152 leaves 19 h 15 after AA 8731 arrives on the timetable: more than half a day, so not a connection we count.