cooked rice can harbour the toxinbacillus cereus as it is able to form spores that are very resistant to low or high temperatures, so they can easily survive cooking
it is recommended that rice is cooked and consumed immediately afterwards, rather than stored as this will reduce the risk of food poisoning