It is narrated from Sayyiduna Jabir (may Allah be pleased with him): "A man came to the Messenger of Allah (peace and blessings be upon him) and asked him about fasting. Since he (peace and blessings be upon him) was held back (from answering at once) by some preoccupation, Sayyiduna Ibn Mas'ud (may Allah be pleased with him) addressed him and said: 'Fast Ramadan and fast three (voluntary) days of every month.' The man (on hearing this) said: 'A'udhu billahi minka ya Abdallah' (O Abdullah, I seek refuge with Allah from you). Then the Messenger of Allah (peace and blessings be upon him) said to him: 'What more do you want? Fast Ramadan and fast three days of every month.'"
Imam Abu Bakr bin Abi Shaybah recorded it with a hasan (good) chain, and Imam al-Bazzar also recorded it.