NP 6131 then QR 3597 at Barcelona
Cairo → Barcelona → Málaga
Timetable, Barcelona time
11:05NP 6131 from Cairo at the gate
07:10QR 3597 to Málaga leaves the gate
20 h 05 apart on the timetable, overnight
QR 3597 leaves 20 h 05 after NP 6131 arrives on the timetable: more than half a day, so not a connection we count.