QR 3522 then LH 1815 at Barcelona
Málaga → Barcelona → Munich
Timetable, Barcelona time
01:20QR 3522 from Málaga at the gate
18:20LH 1815 to Munich leaves the gate
17 h apart on the timetable
LH 1815 leaves 17 h after QR 3522 arrives on the timetable: more than half a day, so not a connection we count.