Module 3.2: Rejection; Importance sampling
Optional:
Bayesian Data Analysis (Third Edition)
by Andrew Gelman, John Carlin, Hal Stern, David Dunson, Aki Vehtari, and Donald Rubin.:
Section 10.3: Direct simulation and rejection sampling
Section 10.4: Importance sampling