inheritance for children born out of wedlock

Re: Adopting a Child - A taboo?

I heard / read that only inheritance for out of wedlock relationship is stone / stoning.