Soak all types of beans -if used dry - in cold water overnight.
The next day, clean and chop the onion, carrot and celery. Heat the oil in a saucepan, sauté the vegetables and then add the drained beans and the thyme, washed and dried, with the leaves removed from the stem.
Cover with the cold water and cook. Ten minutes before the beans are cooked (approx. after 50 minutes), season with salt and pepper and Ras El Hanout. Add the ditalini, cook 1according to package directions. mix together and serve.