The footage, which shows the 29 year old shirtless and surrounded by a small group of onlookers, went viral after it was posted to YouTube and Facebook.

In the rap, he says, "You can't really f**k with this, dog, I'm the best in the west and s**t /If you could give me this shoe, yo, you know the shoe fits and this Jew do spew s**t and the s**t's sick /Oh s**t, best to do this since Tupac was doing music /Yes sir, this Jewish kid still spew this sick s**t, though."

When one of the onlookers mentions LaBeouf's blockbuster action film Transformers, the actor responds, "Nah, none of that. Transformers is the dummy rap and I'm so past that."

It is unclear when the footage was filmed as the clip appears to show LaBeouf without the injury he sustained while filming his latest movie American Honey in North Dakota on Wednesday (24Jun15).

He reportedly received 20 stitches and 12 staples in his head and finger after he crashed through a glass window during a stunt and was photographed on Thursday (25Jun15) wearing a large bandage around his head.