I know that there are requirements that those who collected ahadith like Bukhari and others to ensure the authenticity of a hadith and accept it. For example, I hear often that the one giving the hadith must be trustworthy without ever having lied before, or that they must have good adab.
For example,
- I once heard a story where Imam Bukhari went to collect a hadith from a man, and when he got to this man's house, he saw that the man's donkey won't come to him. So what the man did was pick up his clothes and pretend that there was food in it to trick the donkey into coming. So Imam Bukhari got back on his horse and left without accepting a hadith from this man.
- I have also heard that those who collect hadith would not accept it from a person who stood up while drinking and eating, as they considered this to be bad manners.
So what I would like to know is, what are the requirements that allowed the collector of ahadith (e.g. Bukhari) to accept a hadith from any person? I would like an answer that is detailed.