A parrot that warned two alleged drug dealers in Brazil that police were coming was taken into custody after it almost foiled the undercover drug raid, authorities told NBC News.

When the green-and-white bird spotted officers Tuesday at its owners' Teresina home, it squawked "Mama, Police!" in Portuguese, according to the local outlet Oliberal.com.

Despite the bird's efforts to tip off the owners, a man and a woman were arrested, the outlet reports. Drugs, including crack and marijuana, were found at the property, as well as large amounts of money.

Read More