SC hands three-month ban to Shahid Masood