There's a simple rule.
Love God and your fellow humans.
Everything else is just commentary.
Islam included.
You didn't even quote it right.
A skeptic came to the Rabbi Hillel and declared, "If you can recite the whole Torah while standing on one foot I will be a Jew." So Hillel stands on one foot and says, "What is hateful to you, do not do to your neighbor. That is the whole Torah, the rest it commentary. Now go and study."