3O 641 then QR 142 at Barcelona
Tangier → Barcelona → Doha
Timetable, Barcelona time
22:203O 641 from Tangier at the gate
22:15QR 142 to Doha leaves the gatealso LA 5615, IB 6144
23 h 55 apart on the timetable, overnight
QR 142 leaves 23 h 55 after 3O 641 arrives on the timetable: more than half a day, so not a connection we count.