Source: https://www.biggerpockets.com/forums/51/topics/74512-legal-repercussions-of-renting-your-primary-residence