Has there ever been a "you must spend a night in a haunted house" clause in a will?

Or something similar?

Username OP combo!

Not that I can find.

The weirdest stipulations in wills I can find are:

Leona Helmsley - sons get their share only if the visit their fathers’ grave every year.

John Bowman - keep up the mansion and have servants serve dinner every night in case we come back from the dead.

Nothing at all like spending a night somewhere.

I started a thread on a similar topic once:
In your Last Will and Testament, how much can you screw with your heirs?

The winning response was the Great Stork Derby