In any case sex between males is among the things not allowed according to the Torah. As for dissident children בן סורר ומורה - there are rather strict conditions for which that law applies. (e.g. the amount of meat he needs to eat to be liable is almost humanly impossible to eat in the required time period).
In any case there is never a death sentence unless any act is done in front of two kosher witnesses and warning is given. The warning has to be about the reason for the prohibition and also the punishment and the perpetrator has to acknowledge the warning. It is like Miranda rights in that respect. Otherwise the case is thrown out of court.
Appendix
1) It is understood that the laws of the Torah were all addressed to Jews alone. Every single last one.
The question of what gentiles are obligated in is simply uninteresting to the Torah. As far as the Torah is concerned if someone wants to keep the Torah--very nice.
[''I have put before you this day the life and the good, and death and evil. So choose life by keeping these commandments.'' Deuteronomy. Now there is a deal you can't turn down. Who does not want life and the good? No one.]
2) In any case the subject does come up. We have the well known seven laws that were given to Noah. And how much of later laws that were given to Moses apply is subject to debate.
A ger toshav גר תושב the Rambam decided is one who accepts the seven laws in front of the Sanhedrin.
But there is an argument about that. To some opinions in Mesechet Gerim--a tractate outside the Mishna- a ger toshav is one who accepts on himself not to do idolatry.
In the middle ages the idea of gerei hashar גרי השער came up and the Beit Joseph did consider gentiles that were civilized to be in that category. That is a step up from gerei toshav, but not yet a full ger.
3) The Seven Laws, include not to murder, and not to do idolatry. Islam seems to be idolatry since they are worshiping a false god. (They call him God, But you can call many people by the same name. That does not mean they are the same person. When they worship Satan, it does not help if they give him the name of the Creator. In fact it makes it worse.)
In any case there is never a death sentence unless any act is done in front of two kosher witnesses and warning is given. The warning has to be about the reason for the prohibition and also the punishment and the perpetrator has to acknowledge the warning. It is like Miranda rights in that respect. Otherwise the case is thrown out of court.
Appendix
1) It is understood that the laws of the Torah were all addressed to Jews alone. Every single last one.
The question of what gentiles are obligated in is simply uninteresting to the Torah. As far as the Torah is concerned if someone wants to keep the Torah--very nice.
[''I have put before you this day the life and the good, and death and evil. So choose life by keeping these commandments.'' Deuteronomy. Now there is a deal you can't turn down. Who does not want life and the good? No one.]
2) In any case the subject does come up. We have the well known seven laws that were given to Noah. And how much of later laws that were given to Moses apply is subject to debate.
A ger toshav גר תושב the Rambam decided is one who accepts the seven laws in front of the Sanhedrin.
But there is an argument about that. To some opinions in Mesechet Gerim--a tractate outside the Mishna- a ger toshav is one who accepts on himself not to do idolatry.
In the middle ages the idea of gerei hashar גרי השער came up and the Beit Joseph did consider gentiles that were civilized to be in that category. That is a step up from gerei toshav, but not yet a full ger.
3) The Seven Laws, include not to murder, and not to do idolatry. Islam seems to be idolatry since they are worshiping a false god. (They call him God, But you can call many people by the same name. That does not mean they are the same person. When they worship Satan, it does not help if they give him the name of the Creator. In fact it makes it worse.)