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