FR 2897 then LA 5791 at Barcelona
Palma de Mallorca → Barcelona → Valladolid
Timetable, Barcelona time
16:45FR 2897 from Palma de Mallorca at the gate
16:05LA 5791 to Valladolid leaves the gate
23 h 20 apart on the timetable, overnight
LA 5791 leaves 23 h 20 after FR 2897 arrives on the timetable: more than half a day, so not a connection we count.