FR 6395 then IB 412 at Barcelona
Dublin → Barcelona → Madrid
Timetable, Barcelona time
18:55FR 6395 from Dublin at the gate
13:35IB 412 to Madrid leaves the gatealso IB 412S, LA 1524, LL 3012, VY 5060, AV 6172, BA 7081, QR 8004, AA 8776
18 h 40 apart on the timetable, overnight
IB 412 leaves 18 h 40 after FR 6395 arrives on the timetable: more than half a day, so not a connection we count.