Sean Hannity fired back at his Fox News colleague Shepard Smith on Twitter Friday after the breaking news anchor claimed Fox News’s opinion programming doesn’t “really have rules.”

“While Shep is a friend with political views I do not share, and great at breaking news, he is clueless about what we do every day,” Mr. Hannity, a pro-Trump conservative and prime-time Fox News host, tweeted Friday.

“Hannity breaks news daily-Warrant on a Trump assoc, the unmasking scandal, leaking intel, Fisa abuse, HRC lawbreaking, dossier and more REAL NEWS! 9p,” he wrote.

While Shep is a friend with political views I do not share, and great at breaking news, he is clueless about what we do every day. Hannity breaks news daily-Warrant on a Trump assoc, the unmasking scandal, leaking intel, Fisa abuse, HRC lawbreaking, dossier and more REAL NEWS! 9p https://t.co/zJpnnyFTtP — Sean Hannity (@seanhannity) March 16, 2018

Mr. Hannity’s tweet comes after Mr. Smith, a breaking news anchor at Fox News who was recently re-signed to a new multiyear contract, told Time magazine in an interview published Thursday that his side of the newsroom and Fox’s opinion slate “serve different masters.”

“We work for different reporting chains, we have different rules,” said Mr. Smith, who joined the network at its inception in 1996. “They don’t really have rules on the opinion side. They can say whatever they want. If it’s their opinion. I don’t really watch a lot of opinion programming. I’m busy.”

Mr. Smith has occasionally spoken out against the Trump administration and debunked theories pushed by his colleagues on the opinion side, prompting Mr. Hannity to call him “anti-Trump” in the past.

Laura Ingraham, a conservative host at the network, also criticized Mr. Smith’s comments to Time, calling them “inconsiderate & inaccurate.”