LA 5799 then QR 3513 at Barcelona
Mahón → Barcelona → Málaga
Timetable, Barcelona time
09:00LA 5799 from Mahón at the gate
21:55QR 3513 to Málaga leaves the gate
12 h 55 apart on the timetable
QR 3513 leaves 12 h 55 after LA 5799 arrives on the timetable: more than half a day, so not a connection we count.