According to the document, if Boris Johnson does not agree upon with the European Union about the conditions, he will have to ask for Brexit's extension beyond 31 October.
Previously the bill was approved by the House of Commons. In response to it, the Prime Minister suggested holding snap parliamentary elections on October 15.
"The House elected not only for leaving the EU for several times but also for extension of Brexit. Today, I'm afraid, it has voted for the abolition of any serious negotiations," he said.
Earlier, Johnson turned to Queen Elizabeth II with a request to suspend the work of the Parliament. The monarch supported the suggestion.
As it was reported earlier, Boris Johnson said that Brexit should be put on a vote and urged the parliamentarians not to disrupt his plans relating to the removal of the UK from the European Union.