Move your cursor to the corner of the slab, then press the mouse button down to see the potential Guide Lines. (The cursor changes to a fist; your wall input is temporarily interrupted.)
You want the Guide Line that is aligned with the slab edge: when it is shown, let go of the mouse button