M isn't going to like this — it seems that James Bond took a side trip to a galaxy far, far away!

Sources tell Entertainment Weekly that Daniel Craig has a brief cameo as a stormtrooper in "Star Wars: The Force Awakens." His face is not visible, though he does have one line.

Craig reportedly shot the cameo at England's Pinewood Studios, where both "Spectre" and "The Force Awakens" filmed. With the two sets not far apart from each other, it probably took Craig no time at all to don the stormtrooper costume.

"He did it for sh--s and grins," a source tells EW.

In fact, there had already been rumors that Craig had a small role in the movie, but when EW asked him about earlier this year, the actor angrily denied it. "Why would I ever bother doing something like that? F---ing hell! Pffft. Play an extra in another movie." Ha, well, Craig is a very good actor.

Curious about Craig's appearance? Read on to learn more about his cameo.

"STAR WARS" SPOILERS AHEAD:

Rey (Daisy Ridley) is being held captive, and tries to used a Jedi mind trick to get a stormtrooper (Craig) to remove her restraints and let her free. But the stormtrooper only responds, "I'll tighten those restraints, scavenger scum."

Want more stuff like this? Like us on Facebook.