FR 2897 then BT 684 at Barcelona
Palma de Mallorca → Barcelona → Riga
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
14:05BT 684 to Riga leaves the gatealso IB 7848
21 h 20 apart on the timetable, overnight
BT 684 leaves 21 h 20 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.