AA 112 then QR 3516 at Barcelona
Miami → Barcelona → Málaga
Timetable, Barcelona time
07:05AA 112 from Miami at the gatealso BA 1514, AY 3780, IB 4460
19:45QR 3516 to Málaga leaves the gate
12 h 40 apart on the timetable
QR 3516 leaves 12 h 40 after AA 112 arrives on the timetable: more than half a day, so not a connection we count.