QR 147 then I2 1751 at Madrid
Doha → Madrid → Seville
Timetable, Madrid time
06:35QR 147 from Doha at the gate
06:10I2 1751 to Seville leaves the gatealso IB 1751
23 h 35 apart on the timetable, overnight
I2 1751 leaves 23 h 35 after QR 147 arrives on the timetable: more than half a day, so not a connection we count.