QR 151 then EY 4310 at Madrid
Doha → Madrid → Palma de Mallorca
Timetable, Madrid time
20:35QR 151 from Doha at the gate
20:15EY 4310 to Palma de Mallorca leaves the gatealso UX 6051, AM 6872, AD 6960
23 h 40 apart on the timetable, overnight
EY 4310 leaves 23 h 40 after QR 151 arrives on the timetable: more than half a day, so not a connection we count.