There is no set number of weeks. Safety depends on the cat's overall health and recovery after giving birth.
Breeding too soon can cause weakness, nutritional deficiencies, uterine infections, and decreased milk production. Wait until the cat has regained its pre-pregnancy weight, shows normal energy and appetite, and has had at least one heat cycle.
Consult your veterinarian to determine the appropriate time based on your cat's individual health.