If rice stored in the fridge smells bad, do not eat it. A foul odor indicates bacterial growth, which can lead to food poisoning, diarrhea, vomiting, and other health issues.
Importantly, don't eat rice immediately after taking it out of the fridge. Allow it to sit at room temperature for a while before consuming it.