Child Given Up For Adoption Within Family
There is no explicit ruling given in this regard in Shariah, however, its being unethical is obvious. The child is not a property or a senseless or emotionless thing. He has all the right to be raised by his or her own parents who brought him or her into the world unless there is some real and valid reason to give up their child to someone else. For details you can read this article of mine here https://alsharia.org/2022/mar/surrogacy-dr-irfan-shehzad