In this section

Historical Rules · 8 July 2022

Rule 401.7

Official source text from the 8 July 2022 Rules release

Permalink

If an effect causes a player to put a card into a library “Nth from the top,” and that library has fewer than N cards in it, the player puts that card on the bottom of that library.

Find this number in the current Rules