Dear Prince baba,
Welcome back to the Wefugees Community and thank you for reaching out to us.
Unfortunately, I am not aware of any law giving a legal status to a person living together with children, who are not his/her own and have a humanitarian residence permit in Germany.
If his/her residence in Germany is in danger, I would recommend to seek some individual advice, for instance in a migration counselling office. There might be alternative options to stabilize the status here (work etc.).
I am sorry not being able to provide a better answer but I will link two of our wonderful experts here: Maybe @mbe-on_Zsigó or @mbeon-Ruth can add to this?
All the best,
Meike