It is narrated from Sayyiduna Ali (may Allah be pleased with him) that Maysarah saw him drinking water while standing, so he said (in surprise): Are you drinking standing! He replied: "If I drink standing, I have certainly seen the Messenger of Allah (peace and blessings be upon him) drinking standing, and if I drink sitting, I have seen the Messenger of Allah (peace and blessings be upon him) drinking sitting."
Abu Bakr bin Abi Shaybah also narrated this report likewise with the chain of Muhammad bin Fudayl, and Imam al-Bukhari and Imam Abu Dawud recorded from this hadith only the incident of drinking while standing.