HV 5132 then KL 589 at Schiphol
Barcelona → Amsterdam → Accra
Timetable, Amsterdam time
16:50HV 5132 from Barcelona at the gate
14:30KL 589 to Accra leaves the gate
21 h 40 apart on the timetable, overnight
KL 589 leaves 21 h 40 after HV 5132 arrives on the timetable: more than half a day, so not a connection we count.