It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that one of the wives of the Prophet (peace and blessings be upon him) took a ritual bath (ghusl) from janabah. Then the Prophet (peace and blessings be upon him) came and began to perform ablution with the water she had left over. She said: "I took a bath from this very water." He (peace and blessings be upon him) said: "Indeed, nothing makes water impure."
Related hadith on this topic