FR 2437 then YW 8016 at Madrid
Rome → Madrid → Vigo
Timetable, Madrid time
22:45FR 2437 from Rome at the gate
20:15YW 8016 to Vigo leaves the gate
21 h 30 apart on the timetable, overnight
YW 8016 leaves 21 h 30 after FR 2437 arrives on the timetable: more than half a day, so not a connection we count.