The US Senate has rejected a measure to grant rail workers seven days of paid sick leave.
The senators, however on Thursday, passed a bill to implement the labour agreement between freight rail carriers and unionised workers, Xinhua news agency reported.
It also made an imminent strike illegal.
Both measures cleared the US House of Representatives on Wednesday.
US President Joe Biden said on Thursday he would sign the bill that cleared both chambers of Congress into law as soon as it is sent to his desk.