UX 7701 then QR 3513 at Barcelona
Madrid → Barcelona → Málaga
Timetable, Barcelona time
08:55UX 7701 from Madrid at the gate
21:55QR 3513 to Málaga leaves the gate
13 h apart on the timetable
QR 3513 leaves 13 h after UX 7701 arrives on the timetable: more than half a day, so not a connection we count.