The CZ 75 Compact in .40 S&W had a rail, but is no longer being made. You need to search the used gun market, and if you find one let me know -- I'll bid against you for it.
I'm not aware of the 75 Compact in 9 Luger ever being made with a rail, but I wouldn't be shocked to learn of a few.