FR 10 then IB 2326 at Madrid
Dublin → Madrid → La Seu d'Urgell
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
14:45IB 2326 to La Seu d'Urgell leaves the gatealso VY 5726
14 h 50 apart on the timetable, overnight
IB 2326 leaves 14 h 50 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.