In the short story “The Landlady” by Roald Dahl, there is foreshadowing.
The first sign of sign of something not being right is when Billy turns to leave and “a queer thing happened to him. … All at once his eye was caught and held in the most peculiar manner by the small notice that was there. BED AND BREAKFAST… Each word was like a large black eye staring at him through the glass, holding him, compelling him, forcing him to stay where he was and not to walk away from the house, and… he was actually moving… to the front door of the house.” Though Roald Dahl describes the boarding house as warm and inviting, the out-of-the-ordinary happening instantly makes the reader suspicious. Also, Billy chooses not to go in there, but then the “magic” makes him.
Secondly, the woman immediately opens the door, even though the story explicitly says that “Normally… you have at least a half-minute’s wait before the door opens.” This makes people wonder, Was she waiting for him? Did she expect someone? It further increases the reader’s suspicions about something bad going to happen.
The third use of foreshadowing is when she tells him that she is picky and loves it when she sees someone exactly right. “She paused with one had on the stair rail, turning her head and smiling down at him with pale lips. ‘Like you’ she added.” She acts rather creepily, and the words turning her head, smiling, and pale lips clues the reader in about something not being quite right, if they didn’t notice already.
These are some of the places where Roald Dahl put forshadowing in this short story, and how it makes the story a bit unsettling.