From John DiMarco:
“Beam me up, Scotty!” This saying is commonly associated with Star Trek–but ironically, this exact phrase was never used in dialogue. However, there are many examples of very similar phrases in Star Trek (such as “beam us up”), which are documented in this video. Note: These examples are predominantly from TOS because, on later series, it would be more typical to hear a command along the lines of, “[number] to beam up.”