FR 2527 then AZ 63 at Madrid
Berlin → Madrid → Rome
Timetable, Madrid time
23:10FR 2527 from Berlin at the gate
18:00AZ 63 to Rome leaves the gate
18 h 50 apart on the timetable, overnight
AZ 63 leaves 18 h 50 after FR 2527 arrives on the timetable: more than half a day, so not a connection we count.