FR 6920 then FR 7156 at Dublin
Barcelona → Dublin → Madrid
Timetable, Dublin time
23:55FR 6920 from Barcelona at the gate
17:05FR 7156 to Madrid leaves the gate
17 h 10 apart on the timetable, overnight
FR 7156 leaves 17 h 10 after FR 6920 arrives on the timetable: more than half a day, so not a connection we count.