Receive the latest national-international updates in your inbox

A U.S. flag is placed on the 9/11 memorial before the ceremony to commemorate the 14th Anniversary of the terrorist attacks on September 11, 2015 in New York.

Congress sent President Barack Obama a bipartisan bill that would allow families of Sept. 11 victims to sue the government of Saudi Arabia, putting lawmakers on a collision course with the White House on the eve of the 15th anniversary of the attacks.

The House passed the legislation Friday by a voice vote, about four months after the measure cleared the Senate despite vehement objections from Saudi Arabia. Fifteen of the 19 hijackers were Saudi nationals.

Sept. 11: Day of Mourning and Remembrance

The legislation gives victims' families the right to sue in U.S. court for any role that elements of the Saudi government may have played in the 2001 attacks that killed thousands in New York, the Washington, D.C., area and Pennsylvania.

The White House has signaled Obama would veto the legislation over the potential for it to backfire and apprehension about undermining a longstanding yet strained relationship with a critical U.S. ally in the Middle East. The Obama administration has warned that if U.S. citizens can take the Saudis to court, then a foreign country could in turn sue the United States.

From the Archives: The Man With the Red Bandana

At the dedication of the 9/11 museum in May 2014, President Obama recalled the heroism of Welles Crowther, a 24-year-old from Nyack, New York, who perished on 9/11 while saving the lives of others. On the first anniversary of the attacks, NBC 4 New York's Chuck Scarborough talked with Crowther's parents who explained how they came to learn their son was the hero known only at first as "the man in the red bandanna." The museum has one of Crowther's red bandannas on display. (Published Friday, Sept. 9, 2016)

Votes from two-thirds of the members in the House and Senate would be needed to override a veto.

Rep. Ted Poe, R-Texas, said the U.S. government should be more concerned about the families of the victims than "diplomatic niceties." Poe said he doesn't know if the Saudi government had a role in the Sept. 11 attacks.

Dramatic Photos: 10th Anniversary of 9/11 Attacks

"That's for a jury of Americans to decide," Poe said.

There was no immediate comment from Saudi Arabia. The timing of the vote could be seen as an additional slap at the kingdom, which was preparing for the annual hajj pilgrimage beginning Saturday. But a sponsor of the bill, Rep. Jerrold Nadler, D-N.Y., said lawmakers were focused only on the symbolism of bringing the bill to the floor as close to the 15th anniversary as possible.

The bill's proponents disputed the argument that there will be a boomerang effect if the measure is signed into law. Rep. Peter King, R-N.Y., another sponsor, said foreign governments cannot look the other way if terrorist activities are being plotted or launched from their countries.

Terry Strada, national head of 9/11 Families United For Justice Against Terrorism, dismissed fears the U.S. could be the target of lawsuits.

"If we're not funding terrorist organizations and killing people, then we don't have anything to worry about," she said.

The vote came after House members from both parties briefly adjourned to commemorate the anniversary of the attacks. House Speaker Paul Ryan led a moment of silence on the Capitol steps, and lawmakers sang "God Bless America" in remembrance of 9/11, when lawmakers gathered in the same location to sing the song immediately after the attacks on New York and Washington.

The Justice Against Sponsors of Terrorism Act had triggered a threat from Riyadh to pull billions of dollars from the U.S. economy if the legislation is enacted. But Saudi Foreign Minister Adel bin Ahmed Al-Jubeir denied in May that the kingdom made any threats over the bill. He said Riyadh had warned that investor confidence in the U.S. would shrink if the bill became law.

"In fact what they (Congress) are doing is stripping the principle of sovereign immunities, which would turn the world for international law into the law of the jungle," Al-Jubeir said.

The House vote came two months after Congress released 28 declassified pages from a congressional report into 9/11 that reignited speculation over links at least a few of the attackers had to Saudis, including government officials. The allegations were never substantiated by later U.S. investigations into the terrorist attacks.

Brian McGlinchey, director of advocacy website 28pages.org, said making the documents public "strengthened the resolve of 9/11 families and other advocates of justice to bring about the enactment" of the bill.

A decision by Obama to veto legislation "that would give 9/11 families their well-deserved day in court would truly stain his legacy," McGlinchey said.

In a separate development, a bipartisan group of senators are seeking to block the Obama administration's proposed sale of more than $1 billion worth of U.S. weapons to Saudi Arabia.

The war is pitting Yemen's internationally recognized government and a Saudi-led coalition against the Shiite rebels known as Houthis, who are allied with army units loyal to a former president. The Saudi-led coalition has been carrying out airstrikes in Yemen since March 2015.