The bill now goes to the Senate where it is expected to pass with only hours remaining before an expected shutdown.