FR 393 then QR 150 at Madrid
Ibiza → Madrid → Doha
Timetable, Madrid time
16:45FR 393 from Ibiza at the gate
15:20QR 150 to Doha leaves the gate
22 h 35 apart on the timetable, overnight
QR 150 leaves 22 h 35 after FR 393 arrives on the timetable: more than half a day, so not a connection we count.