How to disable single post view in wp

I want know, How to disable single post view in wp.
any plugin or setting???

Is there a way to disable single post page, for example when some tries to go to single post page to show not found or 404 page.

Solutions Collecting From Web of "How to disable single post view in wp"