AA 8651 then QR 4702 at Barcelona
Madrid → Barcelona → Geneva
Timetable, Barcelona time
19:15AA 8651 from Madrid at the gate
15:15QR 4702 to Geneva leaves the gate
20 h apart on the timetable, overnight
QR 4702 leaves 20 h after AA 8651 arrives on the timetable: more than half a day, so not a connection we count.