EI 593 then FR 3977 at Dublin
Madrid → Dublin → Barcelona
Timetable, Dublin time
12:45EI 593 from Madrid at the gate
07:40FR 3977 to Barcelona leaves the gate
18 h 55 apart on the timetable, overnight
FR 3977 leaves 18 h 55 after EI 593 arrives on the timetable: more than half a day, so not a connection we count.