FR 403 then BT 686 at Madrid
Palma de Mallorca → Madrid → Riga
Timetable, Madrid time
18:15FR 403 from Palma de Mallorca at the gate
17:15BT 686 to Riga leaves the gate
23 h apart on the timetable, overnight
BT 686 leaves 23 h after FR 403 arrives on the timetable: more than half a day, so not a connection we count.