FR 10 then YW 8008 at Madrid
Dublin → Madrid → Seville
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
18:00YW 8008 to Seville leaves the gate
18 h 05 apart on the timetable, overnight
YW 8008 leaves 18 h 05 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.