A prominent GOP campaign donor has issued an ultimatum to Republican leaders: Introduce gun control legislation, or lose his support, The New York Times reported Saturday.

Al Hoffman Jr., a leading donor to former President George W. Bush and congressional Republicans, has vowed to halt all donations to the party unless leaders pass legislation to restrict access to guns and ban assault weapons, the newspaper said.

Seventeen people were slain and 14 people were hospitalized in Wednesday's rampage at Marjory Stoneman Douglas High School in Broward County. The suspect, troubled 19-year-old former student Nikolas Cruz, was booked on 17 counts of premeditated murder Thursday. Authorities said he used an AR-15 assault rifle.

"For how many years now have we been doing this — having these experiences of terrorism, mass killings — and how many years has it been that nothing's been done?" Mr. Hoffman told the Times. "It's the end of the road for me."

Hoffman issued his ultimatum via email, addressing half-dozen Republican leaders. They included Florida Gov. Rick Scott, whom he has supported in the past and who may seek a Senate seat in 2018, the Times reported. Representatives for Scott did not immediately return CNBC's request for comment.

"I will not write another check unless they all support a ban on assault weapons," Hoffman wrote in an email acquired by the Times. "Enough is enough!"

Republican leaders have shown little interest in new gun legislation, following the Feb. 14 attack at the Parkland, Florida, high school, according to the Times. A previous ban on assault weapons, signed into law in 1994 by President Bill Clinton, expired in 2004 under Bush.

Hoffman has also encouraged other donors to follow in his footsteps. However, the Times reported that certain donors, including Bush family ally Mel Sambler, have already expressed that they likely won't. Sembler did not immediately return CNBC's request for comment.

Read the full story in The New York Times here.