A Hanna-Barbera series so successful that it’s had more episodes than you think.
But there is one episode name that escapes me. The one where one minute, Fred sleeps somewhere, the next minute, the plot takes place in Fred’s dream in the future.
In the dream, Fred is an old long bearded caveman; mistaken for a rabbit by a hunter at first due to tying his long beard on top of his head, he mistakes a young yet ugly lady for Wilma before being chased off by her dog, he finds out that his old friend Barney lives in a bigger mansion and that Pebbles and Bamm-Bamm got married, and reunites with an old Wilma before waking up in the present time and eating pies.
Rip Van Flintstone (S6 E8) – https://www.imdb.com/title/tt0580221/
Solved. Thanks.