In the games Ruby, Sapphire, Emerald, HeartGold, SoulSilver and in Pokemon Mystery Dungeon. Hope This Helps! :)
--------------->See you in the above games ^
I don't think you can Catch Rayquaza in Pokemon Mystery Dungeon, though.