FR 8131 then FR 3977 at Dublin
Málaga → Dublin → Barcelona
Timetable, Dublin time
16:10FR 8131 from Málaga at the gate
07:40FR 3977 to Barcelona leaves the gate
15 h 30 apart on the timetable, overnight
FR 3977 leaves 15 h 30 after FR 8131 arrives on the timetable: more than half a day, so not a connection we count.