BT 877 then QR 3771 at Barcelona
Tallinn → Barcelona → Basel
Timetable, Barcelona time
10:30BT 877 from Tallinn at the gate
08:45QR 3771 to Basel leaves the gate
22 h 15 apart on the timetable, overnight
QR 3771 leaves 22 h 15 after BT 877 arrives on the timetable: more than half a day, so not a connection we count.