Abu Huraira reported: The Prophet, peace and blessings be upon him, said, “A prostitute had once been forgiven. She passed by a dog panting near a well. Thirst had nearly killed him, so she took off her sock, tied it to her veil, and drew up some water. Allah forgave her for that.”
Source: Ṣaḥīḥ al-Bukhārī 3143, Ṣaḥīḥ Muslim 2245
According to the hadith above, a woman who committed sins was forgiven by Allah (SWT) due to quenching the thirst of a panting dog. Yes, she was forgiven, but how come she was? Did she commit kufr or not? Allah does not forgive a person who is a kafir and doesn't repent. Is she a monotheistic prostitute?