A woman said: Messenger of Allah, my womb is a vessel to this son of mine, my breasts, a water-skin for him, and my lap a guard for him, yet his father has divorced me, and wants to take him away from me. The Messenger of Allah ﷺ said: You have more right to him as long as you do not marry. (Using translation from Abū Dāʾūd 2276)
"أَنتِ أَحقُّ به ما لمْ تنكِحِى" .