Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Do not sit with those who deny predestination (qadar), and do not initiate conversation with them."
And Abu Abd al-Rahman (may Allah have mercy on him) once said (while narrating it): "I heard the Messenger of Allah (peace and blessings be upon him) (saying this)."