Let her do two things
1 Let her recite abundantly the last sura in the quran NAAS. Many like her case got cured.
2 Her religiously duty is to ignore the doubts unless if she is certain and for sure that the duty was not performed correctly. She does not have to observe the rules of doubt at all.