Both species, guinea pigs as rodents, rabbits than lagomorphs should get no grain to eat. If you have to feed an animal for any reason of high-energy, then never with whole grains.
This feed digestive problems, dental problems and long-term organ damage are unfortunately very likely.