The 19-year-old man charged with plotting an ISIS-inspired knife attack in Queens will appear in court on Friday.

Awais Chudhary was arrested Thursday after exchanging text messages with undercover agents about carrying out the attack, sources said.

Chudhary is scheduled to make his initial appearance in Brooklyn federal court later Friday.

Neighbors at his Flushing home on Butler Street said the property was raided Thursday.