Welcome to Fishlore.
It will be at least 3 or 4 weeks until they can go back in.. basically you just need to wait until they're too big to fit in the adults mouths. Until then, they're swimming snacks. A seperate tank for the fry to grow in is best, since it provides them a safe place to grow and having more room encourages growth. You will have more fry, around every month or so.
They'd probably like a cave or plants to feel less threatened.
When you do put them back in, provide plenty of hiding spots, since they still might get chased a bit.