Ahmad Rahami’s father told authorities two years ago that his son was a terrorist – prompting the feds to investigate the future New York and New Jersey bombing suspect, The New York Times reported Tuesday.

It also emerged that during his shootout with cops Monday, Rahami was carrying a notebook containing his pro-jihadist writings, including a reference to slain al-Qaeda terrorist Anwar al-Awlaki, a law enforcement source told The Post.

The bloodied, bullet-pierced book also contained Rahami’s notes about “killing the kuffar,” or unbeliever, The Times reported.

It was “a hodgepodge, a rambling, disconnected, choppy series of references to past events,” a law enforcement official told NBC News.

A senior law enforcement official initially said a note was found attached to an unexploded pressure cooker left on 27th Street, but officials later said it was a notebook.

The father, Mohammad, told New Jersey police in 2014 that Rahami was a terrorist when his son was arrested after a domestic dispute and accused of stabbing his brother.

The information was given to the Joint Terrorism Task Force led by the FBI in Newark, New Jersey. Officials opened a so-called assessment and interviewed the father — who then recanted, the paper reported.

An official said the dad made the comment out of anger at his son. It was unclear if Ahmad was also interviewed.

His father faced a throng of reporters Tuesday morning at his Elizabeth, New Jersey, home, where he shuttered his First American Fried Chicken eatery and delivered a series of cryptic comments.

“I called the FBI two years ago,” he yelled to reporters before driving off in his Chevy Suburban without specifying if he had called the feds on his son.

But he later returned and elaborated.

“He stabbed my son. He hit my wife. And I put him in jail,” Mohammad said after speaking with FBI agents at his home Tuesday.

In 2014, the younger Rahami was arrested on weapons and aggravated assault charges for allegedly stabbing his brother in the leg, The Times reported.

He spent over three months in jail, a high-ranking law enforcement official told the paper, but a grand jury declined to indict Rahami.

FBI Assistant Director William Sweeney referred Monday to a “domestic incident” in which he said the “allegations were recanted.”

Ahmad Rahami also spent a day in jail in 2012 for allegedly violating a restraining order, officials said.

Mohammad also was asked Tuesday if he thought his son is a terrorist.

“No,” he answered. “And the FBI – they know that.”

A day earlier, the father said he had “no idea” about his son’s alleged bomb plots in New York and New Jersey.

“My heart is very, very…,” he said before trailing off.

Asked if he been aware of what his son was up to, he told NBC News: “No idea.”

“I’m not sure what’s going on exactly,” he added Monday. “Yeah I’m not sure what’s happening exactly. But I think so. It’s very hard right now to talk OK?”

A neighbor and former Marine who served in Afghanistan told the Israeli newspaper Haaretz that “the father used to be a Mujahedeen in Afghanistan.”

“He is from the same city where I was deployed as a Marine,” Jonathan Wagner told Haaretz, adding that the father used to say the Taliban was ruining Afghanistan.