It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Noble Prophet, the Leader of both worlds, peace and blessings be upon him, used to say: "There is no status for seclusion in Islam."
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3114