FR 482 then FR 575 at Barcelona
Málaga → Barcelona → Bologna
Timetable, Barcelona time
19:35FR 482 from Málaga at the gate
17:05FR 575 to Bologna leaves the gate
21 h 30 apart on the timetable, overnight
FR 575 leaves 21 h 30 after FR 482 arrives on the timetable: more than half a day, so not a connection we count.