It is narrated from Sayyiduna Anas (may Allah be pleased with him) that "The Messenger of Allah (peace and blessings be upon him) forbade spreading bedding right at the doors of houses, and said: 'Move it a little to one side, away from the line of the door.'"
This chain is da'if (weak) because of the weakness of Musa bin Muhammad bin Ibrahim al-Taymi.