Wyclef Jean, the hip-hop artist, said he was handcuffed and briefly detained by deputies in Los Angeles on Tuesday after they mistook him for a suspect in a robbery near the studio where he had been working.

In a short video message on Twitter early in the morning, the musician was shown standing in the dark next to a patrol car with his hands behind his back. It was unclear who was shooting video.

“L.A., right now, coming from the studio,” Mr. Jean said. “Y’all see the police have handcuffs on me. They just took off my Haitian bandanna. That’s what’s going on right now with Wyclef in L.A. right now. The L.A.P.D. have me in cuffs for absolutely nothing.”