FR 7156 then IB 409 at Madrid
Dublin → Madrid → Barcelona
Timetable, Madrid time
12:45FR 7156 from Dublin at the gate
10:25IB 409 to Barcelona leaves the gatealso LA 1624, CX 1827, LL 3009, VY 5116, AV 6078, BA 7129, QR 7246
21 h 40 apart on the timetable, overnight
IB 409 leaves 21 h 40 after FR 7156 arrives on the timetable: more than half a day, so not a connection we count.