FR 7157 then VY 1093 at Dublin
Madrid → Dublin → Barcelona
Timetable, Dublin time
23:00FR 7157 from Madrid at the gate
12:50VY 1093 to Barcelona leaves the gate
13 h 50 apart on the timetable, overnight
VY 1093 leaves 13 h 50 after FR 7157 arrives on the timetable: more than half a day, so not a connection we count.