If Israel bombs Iran to "stop them from getting nukes", it will likely start a significant period of unrest if not outright war in the Middle East with a high risk of uniting the region against them.
If Iran gets Nukes and uses one against Israel, turning several important Muslim holy sites into dead zones for the next decade or two, does anyone actually think the outcome is going to be celebration in the region?
Your answer to this likely depends on whether or not you're in the school that Muslims are what I'd all "classical" anti-semites (i.e.: they hate Jews for nailing Christ to a cross), or have their own current reasons (i.e.: they kicked cousin Paly off his land), that are just reinforced and referenced by dogma as is wont to happen when people get angry and political/religious leaders look to assign blame.
My answer is this: if Iran, or any of their proxies, turns those religious sites "into glass" they have more to fear from their own populace and the rest of the Muslim nations than they do from Israel and they damned well know it. This is why, while the idea of a nuclear Iran doesn't remotely thrill me at all from a "world needs less capacity to destroy itself, not more" perspective, it doesn't particularly scare me either.
At the end of the day, self preservation has always been a startlingly effective deterrent when it comes to these things.