When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
American Dad! "Stan of Arabia Part 2" (quote from imdb)
Kazim: You should not be out in the streets unescorted. Do you want to get stoned?
Hayley Smith: Yes! Do I! It's been like forever!
Kazim: You want to be buried up to you neck in sand and have angry men throw rocks at your head?
Hayley Smith: Ummm... no.
Oh, right. Yeah, thanks.
I think it was TV, but it could have been a film. Some drug addict or hippy finds themselves in the past, or the middle east and is warned to behave or get stoned, to which they say they'd like it. Then they are asked "You want to be buried up to your neck and then have people throw stones at you?" I'm sure I've seen it but can't remember what it was in.