LL 5191 then QR 146 at Barcelona
Málaga → Barcelona → Doha
Timetable, Barcelona time
15:40LL 5191 from Málaga at the gate
15:20QR 146 to Doha leaves the gate
23 h 40 apart on the timetable, overnight
QR 146 leaves 23 h 40 after LL 5191 arrives on the timetable: more than half a day, so not a connection we count.