It was narrated from Muhammad bin Hatib that the Messenger of Allah said: "What differentiates between the lawful and the unlawful is (beating) the Daff and raising the voices (in song) at the time of marriage".
The Prophet ﷺ also wanted us to be mindful of our actions so that we do not engage in any activity which could be deemed unlawful according to Islamic teachings. By following his instructions on how to differentiate between lawful and unlawful activities, we can ensure that we remain within the boundaries set by Allah SWT.