Like I said it's already included in Android. At least with the Samsung phone. You can see it on the top left. My phone is in French it's called "ne pas déranger" or do not disturb in English. You can set it manually every night or automatically. And the phone number on your favorites list will get through.