It is narrated from Sayyiduna Ali (may Allah be pleased with him) that when a woman in nifas sees purity, nothing is permissible for her except that she pray.