Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: The Prophet (peace and blessings be upon him) would take his ritual bath (ghusl) behind the apartments, and his private parts were never seen.
Imam al-Bazzar recorded this narration, and its narrators are thiqat (trustworthy).