AD 6902 then FR 9674 at Madrid
Málaga → Madrid → Rome
Timetable, Madrid time
07:30AD 6902 from Málaga at the gate
20:50FR 9674 to Rome leaves the gate
13 h 20 apart on the timetable
FR 9674 leaves 13 h 20 after AD 6902 arrives on the timetable: more than half a day, so not a connection we count.