QR 3522 then FR 2098 at Barcelona
Málaga → Barcelona → Bologna
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
22:10FR 2098 to Bologna leaves the gate
20 h 50 apart on the timetable
FR 2098 leaves 20 h 50 after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.