FR 10 then UX 7703 at Madrid
Dublin → Madrid → Barcelona
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
15:15UX 7703 to Barcelona leaves the gate
15 h 20 apart on the timetable, overnight
UX 7703 leaves 15 h 20 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.