FR 5316 then I2 1763 at Madrid
Rome → Madrid → Seville
Timetable, Madrid time
23:40FR 5316 from Rome at the gate
18:30I2 1763 to Seville leaves the gatealso IB 1763
18 h 50 apart on the timetable, overnight
I2 1763 leaves 18 h 50 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.