Spacial Rend does not exist in any Pokémon Mystery Dungeon game. It's Palkia's signature move (Dragon/Special/100 BP/95% Acc, high crit ratio) introduced in Generation IV (Diamond/Pearl). The PMD series up through Super Mystery Dungeon (Gen VI) does not include Generation IV+ signature moves for legendaries in their base learnsets.
ROM hacks like Pokémon Mystery Dungeon: Explorers of Sky – Enhanced Edition or Gates to Infinity mods may add Gen IV+ moves via assembly patches. Check Project Pokémon or PMD modding Discords for those communities.
Otherwise, Spacial Rend is unobtainable in official PMD games.