FR 3081 then QR 3617 at Barcelona
Málaga → Barcelona → Bologna
Timetable, Barcelona time
00:50FR 3081 from Málaga at the gate
19:20QR 3617 to Bologna leaves the gate
18 h 30 apart on the timetable
QR 3617 leaves 18 h 30 after FR 3081 arrives on the timetable: more than half a day, so not a connection we count.