In this section

Historical Rules · 1 October 2009

Rule 119.4

Official source text from the 1 October 2009 Rules release

A player who attempts to draw a card from an empty library loses the game the next time a player would receive priority. (This is a state-based action. See rule 704.)

Find this number in the current Rules