U2 8057 then QR 3597 at Barcelona
London Gatwick → Barcelona → Málaga
Timetable, Barcelona time
19:05U2 8057 from London Gatwick at the gate
07:10QR 3597 to Málaga leaves the gate
12 h 05 apart on the timetable, overnight
QR 3597 leaves 12 h 05 after U2 8057 arrives on the timetable: more than half a day, so not a connection we count.