Police in North Carolina are looking into an incident in which a black man was handcuffed in his own home and taken to a police car — in his underwear — after a house alarm was accidentally tripped.

Video of the incident was posted to Facebook and has been viewed more than 10,000 times.

In the video, the homeowner, identified by North Carolina-based WTVD-TV as Kazeem Oyeneyin, is seen being handcuffed and eventually taken out of his house while wearing just underwear. The incident happened on Aug. 17, according to WTVD.

"While the cop was trying to put me in the car, I'm screaming like, 'Yo!' because I want my neighbors to come out and tell them that I live there," Oyeneyin told ABC News. "So, the neighbors are just looking through the windows and I'm just humiliated. Nobody wants to say nothing. Everybody's just looking."

A black man was looking for parking:A white woman felt threatened and called the cops

Oyeneyin told WTVD that the alarm at his home was tripped by accident by a friend who had stayed the night. He shut off the alarm and went back to bed before police arrived at the house.

"Police!" an officer shouts, opening the door. "If you're inside, make yourself known!"

Off camera, Oyeneyin replies, "Yeah, I'm inside."

The officer begins speaking with Oyeneyin and asks him to come out. Oyeneyin tells the officer he has a firearm in his hand. He told ABC News that he has a permit to carry a concealed firearm.

"Come on out," the officer says. "You've got a firearm in your hand?"

Oyeneyin says yes and the officer tells him to drop the gun twice. Still off camera, something is heard clattering on the floor. The officer, who hasn't fully entered Oyeneyin's house at this point in the video, asks Oyeneyin to exit the house.

Oyeneyin replies that he's in his underwear.

"I gotta record this (expletive)," Oyeneyin says in the video, taking out a cellphone. "Y'all crazy as hell."

A police chief apologizes:White cops on horseback led a black man by rope in Texas

The officer yells for Oyeneyin to get on his knees, turn around and put his hands behind his back. Oyeneyin questions the officer — and asks for him to call a supervisor — but complies.

Oyeneyin told WTVD, "Being black could definitely be one the issues, the problem. I hope it's not. But if that's what it is, it needs to be resolved."

The video cuts to the officer handcuffing a protesting Oyeneyin. After the officer handcuffs Oyeneyin, he asks him to identify himself. The officer follows that question with, "Do you live here?" and "Do you have an ID?"

After the officer's supervisor arrives at the scene, Oyeneyin explains that he has a gun because he's a "club owner" and "people try to rob me every day," the video shows. WTVD reported that Oyeneyin is a well-known party and hip-hop concert promoter known as "Tim Boss."

"I'm just trying to figure out who you are and whether or not you're supposed to be here," the officer said in the video.

"That's not the problem, bro," Oyeneyin responded.

More:Black housekeeper not allowed to clean church because priest's dog 'doesn't like black people'

After police confirm Oyeneyin as the owner of the home, an officer off-camera tells Oyeneyin the alarm had been going off for "quite some time."

"In our experience, the homeowner turns off the burglar alarm if they're there," the officer said. "When we get to a burglar alarm and the door's open and it's been 15 or so minutes, the burglar alarm's been going off, that's very unusual. It usually means that there's a burglar inside when we contact somebody, especially if that somebody has a gun."

In a statement to USA TODAY, Raleigh Police Department spokeswoman Donna-maria Harris said, "while the resident stated he turned off his his alarm prior to RPD's arrival, the alarm company never called dispatch to cancel the police response."

She added that the department has reached out to Oyeneyin and is reviewing the incident.

Harris said the responding officer found the door ajar.

RPD "responded to what they believed was potentially a breaking and entering in progress," according to the statement.

"Additionally, while responding to the call, the first responding officer was made aware of a prior breaking and entering at this residence."

Harris said Oyeneyin was detained for "approximately seven minutes."

"While the subject indicated he lived at the residence, the officer had no way to safely confirm the validity of the statement or check the residence for additional persons until other officers arrived on scene. Based on all available facts known to the officer at the time, the resident was detained until additional officers arrived and his identity could be confirmed."